Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder") translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.0039/0.2593, allocations: 2.251 MB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.2608, allocations: 0.7556 MB / 435.1 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.2609, allocations: 4 kB / 435.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.2611, allocations: 51.41 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.2613, allocations: 39.64 kB / 435.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.2617, allocations: 107.7 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.262, allocations: 239.7 kB / 435.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.2622, allocations: 79.59 kB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.2624, allocations: 99.56 kB / 435.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.2626, allocations: 107.5 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.2627, allocations: 16 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.2628, allocations: 36 kB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.2629, allocations: 59.75 kB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.263, allocations: 103.3 kB / 436 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.2633, allocations: 256.3 kB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2633, allocations: 0 / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2634, allocations: 4 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2634, allocations: 3.938 kB / 436.2 MB, free: 3.172 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001062/0.2644, allocations: 0.5455 MB / 436.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2645, allocations: 11.97 kB / 436.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.2646, allocations: 32.75 kB / 436.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.265, allocations: 264.2 kB / 437.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.265, allocations: 20.81 kB / 437.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.265, allocations: 20.31 kB / 437.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.2655, allocations: 263 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.2656, allocations: 0 / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.2656, allocations: 8 kB / 437.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.2656, allocations: 8.438 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.2661, allocations: 201.5 kB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.2674, allocations: 0.8226 MB / 438.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.2677, allocations: 170.4 kB / 438.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.268, allocations: 100.8 kB / 438.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.2681, allocations: 85.09 kB / 438.8 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.2681, allocations: 38.88 kB / 438.8 MB, free: 420 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.2681, allocations: 4 kB / 438.8 MB, free: 416 kB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.001587/0.2697, allocations: 0.7264 MB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.2698, allocations: 55.41 kB / 439.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.27, allocations: 217 kB / 439.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.27, allocations: 33.7 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2702, allocations: 148.5 kB / 440 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.2702, allocations: 87.22 kB / 440.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-05/0.2703, allocations: 49.7 kB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2705, allocations: 334.8 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.2707, allocations: 79.94 kB / 440.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.2709, allocations: 127.8 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.2714, allocations: 215.3 kB / 440.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2714, allocations: 7.938 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005616/0.2719, allocations: 284.1 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.272, allocations: 7.984 kB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.272, allocations: 0 / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.272, allocations: 4 kB / 441.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.2723, allocations: 59.89 kB / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2723, allocations: 0 / 441.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2724, allocations: 15.98 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2724, allocations: 12 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.2726, allocations: 145.8 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.2726, allocations: 23.86 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/0.2733, allocations: 291.2 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2733, allocations: 0 / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2733, allocations: 0 / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2734, allocations: 116.9 kB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.2734, allocations: 11.94 kB / 441.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2736, allocations: 27.91 kB / 441.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.2737, allocations: 15.98 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007903/0.2745, allocations: 372.6 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009078/0.2754, allocations: 0.5628 MB / 442.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000225/0.2756, allocations: 108.2 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.2757, allocations: 160.4 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Backend: time 4.4e-07/0.2757, allocations: 0 / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006957/0.2764, allocations: 217.1 kB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of SimCode: time 0.001301/0.2777, allocations: 1.076 MB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Templates: time 0.006779/0.2845, allocations: 2.552 MB / 446.9 MB, free: 8.094 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SinCosEncoder/SinCosEncoder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.SinCosEncoder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6006017490290105]