Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 109.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 187.2 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2348/0.2348, allocations: 44.24 MB / 330.2 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 78.39 kB / 467.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1418, allocations: 61.03 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004362/0.1461, allocations: 2.422 MB / 0.5189 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1482, allocations: 1.007 MB / 0.5199 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.1486, allocations: 15.81 kB / 0.5199 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.1491, allocations: 115.3 kB / 0.52 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.1495, allocations: 103.3 kB / 0.5201 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.1505, allocations: 299.4 kB / 0.5204 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.1515, allocations: 0.7329 MB / 0.5211 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1517, allocations: 41.27 kB / 0.5212 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.1523, allocations: 307 kB / 0.5215 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005917/0.1529, allocations: 350.7 kB / 0.5218 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.1531, allocations: 60 kB / 0.5219 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1532, allocations: 60 kB / 0.5219 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.1535, allocations: 195.4 kB / 0.5221 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.1538, allocations: 238.8 kB / 0.5223 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007861/0.1546, allocations: 0.5642 MB / 0.5229 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1546, allocations: 0 / 0.5229 GB, free: 364 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1546, allocations: 0 / 0.5229 GB, free: 364 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.668e-05/0.1547, allocations: 0 / 0.5229 GB, free: 364 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002605/0.1573, allocations: 0.8714 MB / 0.5237 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1573, allocations: 15.97 kB / 0.5238 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1575, allocations: 60.66 kB / 0.5238 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.1582, allocations: 321.1 kB / 0.5241 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004032/0.1586, allocations: 259.7 kB / 0.5244 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1587, allocations: 48.33 kB / 0.5244 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.1608, allocations: 0.8087 MB / 0.5252 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.1609, allocations: 7.938 kB / 0.5252 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/0.1609, allocations: 16 kB / 0.5252 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1609, allocations: 8 kB / 0.5252 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.1643, allocations: 1.204 MB / 0.5264 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.1678, allocations: 2.014 MB / 0.5284 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.1707, allocations: 0.7777 MB / 0.5291 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.1721, allocations: 453.3 kB / 0.5296 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-05/0.1722, allocations: 8 kB / 0.5296 GB, free: 9.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.1722, allocations: 46.5 kB / 0.5296 GB, free: 9.219 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 4.709e-06/0.1722, allocations: 3.984 kB / 0.5296 GB, free: 9.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=120): time 0.3544/0.5266, allocations: 15.45 MB / 0.5447 GB, free: 28.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.5267, allocations: 89.66 kB / 0.5448 GB, free: 28.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005608/0.5272, allocations: 401.1 kB / 0.5452 GB, free: 27.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.5274, allocations: 41.39 kB / 0.5452 GB, free: 27.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.5275, allocations: 225.1 kB / 0.5454 GB, free: 27.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.5279, allocations: 422.9 kB / 0.5458 GB, free: 27.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00054/0.5284, allocations: 202.1 kB / 0.546 GB, free: 27.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5285, allocations: 373.7 kB / 0.5464 GB, free: 26.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00339/0.5319, allocations: 1.342 MB / 0.5477 GB, free: 26.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/0.5353, allocations: 1.49 MB / 0.5492 GB, free: 25.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006052/0.5414, allocations: 2.438 MB / 0.5515 GB, free: 24.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5414, allocations: 1.188 kB / 0.5515 GB, free: 24.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007726/0.5491, allocations: 2.832 MB / 0.5543 GB, free: 23.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.5491, allocations: 6.75 kB / 0.5543 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5492, allocations: 3.438 kB / 0.5543 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.5492, allocations: 7.75 kB / 0.5543 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/0.5519, allocations: 413.4 kB / 0.5547 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.5519, allocations: 13.02 kB / 0.5547 GB, free: 23.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.554, allocations: 217.6 kB / 0.5549 GB, free: 23.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.5542, allocations: 39.62 kB / 0.555 GB, free: 23.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 148 * 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.000499/0.5547, allocations: 237.3 kB / 0.5552 GB, free: 23.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.5549, allocations: 70.81 kB / 0.5553 GB, free: 23.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.5552, allocations: 115.3 kB / 0.5554 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.5552, allocations: 12.81 kB / 0.5554 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.5552, allocations: 0 / 0.5554 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.5552, allocations: 7.516 kB / 0.5554 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/0.5678, allocations: 5.207 MB / 0.5605 GB, free: 20.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.5678, allocations: 19.78 kB / 0.5605 GB, free: 20.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.5693, allocations: 354.8 kB / 0.5608 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.837e-05/0.5693, allocations: 30 kB / 0.5609 GB, free: 20.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.234e-05/0.5694, allocations: 47.61 kB / 0.5609 GB, free: 20.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.204e-05/0.5694, allocations: 43.77 kB / 0.561 GB, free: 20.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.379e-05/0.5695, allocations: 35.77 kB / 0.561 GB, free: 20.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/0.5763, allocations: 3.083 MB / 0.564 GB, free: 19.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/0.5768, allocations: 161.7 kB / 0.5642 GB, free: 19.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.577, allocations: 50.34 kB / 0.5642 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.5782, allocations: 195.6 kB / 0.5644 GB, free: 18.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/0.5786, allocations: 221.9 kB / 0.5646 GB, free: 18.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.534e-05/0.5787, allocations: 60.12 kB / 0.5647 GB, free: 18.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.5791, allocations: 261.8 kB / 0.5649 GB, free: 18.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5791, allocations: 0 / 0.5649 GB, free: 18.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001345/0.5804, allocations: 233.6 kB / 0.5651 GB, free: 18.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 94 * Number of states: 4 (integrator2.y,integrator3.y,integrator.y,integrator1.y) * Number of discrete variables: 6 (kinematicPTP2b.moving[1],kinematicPTP1b.moving[1],kinematicPTP2b.noWphase,kinematicPTP2a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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 Backend phase and start with SimCode phase: time 0.0001898/0.5806, allocations: 164.7 kB / 0.5653 GB, free: 18.58 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005676/0.5863, allocations: 2.163 MB / 0.5674 GB, free: 17.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/0.5863, allocations: 3.125 kB / 0.5674 GB, free: 17.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003218/0.5895, allocations: 1.053 MB / 0.5684 GB, free: 17.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.5908, allocations: 155.2 kB / 0.5686 GB, free: 17.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.5944, allocations: 1.969 MB / 0.5705 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.5949, allocations: 0.9214 MB / 0.5714 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001061/0.596, allocations: 206.3 kB / 0.5716 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005818/0.5965, allocations: 70.92 kB / 0.5717 GB, free: 14.41 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5965, allocations: 0 / 0.5717 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Templates: time 0.02546/0.622, allocations: 17.88 MB / 0.5891 GB, free: 15.02 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.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: 6.407332849688828]