Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP") translateModel(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 112.9 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.375, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.00376/0.3788, allocations: 2.407 MB / 0.5219 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.3805, allocations: 0.9355 MB / 0.5228 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.3808, allocations: 12.41 kB / 0.5228 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.3812, allocations: 120.5 kB / 0.523 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3814, allocations: 97.52 kB / 0.523 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.3821, allocations: 284.4 kB / 0.5233 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.3829, allocations: 0.7293 MB / 0.524 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3831, allocations: 77.38 kB / 0.5241 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.3834, allocations: 297.6 kB / 0.5244 GB, free: 488 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.3839, allocations: 333.5 kB / 0.5247 GB, free: 340 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.384, allocations: 60.72 kB / 0.5248 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.3841, allocations: 60.94 kB / 0.5248 GB, free: 340 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3843, allocations: 190.8 kB / 0.525 GB, free: 240 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3845, allocations: 243.3 kB / 0.5252 GB, free: 72 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006778/0.3851, allocations: 0.57 MB / 0.5258 GB, free: 15.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3852, allocations: 0 / 0.5258 GB, free: 15.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3852, allocations: 0 / 0.5258 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3852, allocations: 0 / 0.5258 GB, free: 15.73 MB / 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.002348/0.3875, allocations: 0.9494 MB / 0.5267 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3876, allocations: 13.62 kB / 0.5267 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.3877, allocations: 69.67 kB / 0.5268 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.3883, allocations: 378.9 kB / 0.5272 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.3887, allocations: 263 kB / 0.5274 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.539e-05/0.3888, allocations: 42.5 kB / 0.5275 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3909, allocations: 0.8092 MB / 0.5282 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.3909, allocations: 5.234 kB / 0.5282 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.391, allocations: 17.12 kB / 0.5283 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.391, allocations: 14.12 kB / 0.5283 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/0.3947, allocations: 1.205 MB / 0.5295 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.3975, allocations: 2.031 MB / 0.5314 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.4007, allocations: 0.8222 MB / 0.5322 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.4023, allocations: 494.4 kB / 0.5327 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.4023, allocations: 14.91 kB / 0.5327 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4024, allocations: 46.69 kB / 0.5328 GB, free: 10.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 2.806e-06/0.4024, allocations: 0 / 0.5328 GB, free: 10.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.09023/0.4926, allocations: 15.78 MB / 0.5482 GB, free: 14.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.4927, allocations: 90.23 kB / 0.5483 GB, free: 14.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4931, allocations: 393.5 kB / 0.5486 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001601/0.4933, allocations: 49.7 kB / 0.5487 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.4934, allocations: 217.5 kB / 0.5489 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.4938, allocations: 428.3 kB / 0.5493 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/0.4944, allocations: 198.9 kB / 0.5495 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4945, allocations: 370.8 kB / 0.5499 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003639/0.4982, allocations: 1.342 MB / 0.5512 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003728/0.5019, allocations: 1.497 MB / 0.5526 GB, free: 9.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006792/0.5087, allocations: 2.441 MB / 0.555 GB, free: 7.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5087, allocations: 0 / 0.555 GB, free: 7.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007727/0.5165, allocations: 2.834 MB / 0.5578 GB, free: 4.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5165, allocations: 8 kB / 0.5578 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5165, allocations: 4 kB / 0.5578 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.5166, allocations: 8 kB / 0.5578 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/0.5193, allocations: 411.6 kB / 0.5582 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.5193, allocations: 11.94 kB / 0.5582 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.5213, allocations: 219.6 kB / 0.5584 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.5215, allocations: 39.98 kB / 0.5584 GB, free: 3.629 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.0005441/0.522, allocations: 234.1 kB / 0.5587 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.5223, allocations: 75.52 kB / 0.5587 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.5225, allocations: 104.7 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.5225, allocations: 11.97 kB / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5225, allocations: 0 / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.523, allocations: 328.4 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.5232, allocations: 19.94 kB / 0.5592 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/0.5252, allocations: 215.7 kB / 0.5594 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005667/0.5258, allocations: 172.9 kB / 0.5596 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009265/0.5351, allocations: 2.936 MB / 0.5624 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01157/0.5466, allocations: 4.495 MB / 0.5668 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0037/0.5504, allocations: 1.438 MB / 0.5682 GB, free: 9.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.5507, allocations: 271.1 kB / 0.5685 GB, free: 9.305 MB / 430.1 MB Notification: Performance of Backend: time 9.72e-07/0.5507, allocations: 3.938 kB / 0.5685 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005078/0.5558, allocations: 1.836 MB / 0.5703 GB, free: 7.461 MB / 430.1 MB Notification: Performance of SimCode: time 0.002369/0.5582, allocations: 1.418 MB / 0.5717 GB, free: 5.992 MB / 430.1 MB Notification: Performance of Templates: time 0.03933/0.5975, allocations: 27.58 MB / 0.5986 GB, free: 10.42 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches