Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Blocks.KinematicPTP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 111.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.08 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.88 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.351, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003163/0.3542, allocations: 2.412 MB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3558, allocations: 0.9736 MB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.356, allocations: 13.38 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.3563, allocations: 116.3 kB / 0.5351 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.3565, allocations: 87.83 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.357, allocations: 296.8 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.3577, allocations: 0.7158 MB / 0.5362 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3578, allocations: 72.3 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.3582, allocations: 297.1 kB / 0.5365 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.3585, allocations: 333 kB / 0.5368 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.566e-05/0.3587, allocations: 64.44 kB / 0.5369 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.3587, allocations: 59.16 kB / 0.5369 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.3589, allocations: 196.4 kB / 0.5371 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.3591, allocations: 231.5 kB / 0.5373 GB, free: 9.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.3596, allocations: 0.5622 MB / 0.5379 GB, free: 8.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3596, allocations: 0 / 0.5379 GB, free: 8.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3596, allocations: 0 / 0.5379 GB, free: 8.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3596, allocations: 0 / 0.5379 GB, free: 8.867 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.002067/0.3617, allocations: 0.9353 MB / 0.5388 GB, free: 8.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3617, allocations: 8.75 kB / 0.5388 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3619, allocations: 62.22 kB / 0.5389 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.3624, allocations: 386.3 kB / 0.5392 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000343/0.3628, allocations: 266 kB / 0.5395 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.3629, allocations: 43.28 kB / 0.5395 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.3648, allocations: 0.8096 MB / 0.5403 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3648, allocations: 1.156 kB / 0.5403 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.3649, allocations: 16.53 kB / 0.5404 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3649, allocations: 9.312 kB / 0.5404 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003181/0.3681, allocations: 1.202 MB / 0.5415 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.3707, allocations: 2.027 MB / 0.5435 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/0.3735, allocations: 0.8296 MB / 0.5443 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.3749, allocations: 499.2 kB / 0.5448 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-05/0.375, allocations: 5.438 kB / 0.5448 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.375, allocations: 46.75 kB / 0.5448 GB, free: 3.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=64): time 2.094e-06/0.375, allocations: 0 / 0.5448 GB, free: 3.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=120): time 0.08762/0.4626, allocations: 15.75 MB / 0.5602 GB, free: 4.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.4627, allocations: 94.23 kB / 0.5603 GB, free: 3.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.4634, allocations: 393.4 kB / 0.5607 GB, free: 3.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.4636, allocations: 45.7 kB / 0.5607 GB, free: 3.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.4637, allocations: 224.9 kB / 0.561 GB, free: 3.277 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.4642, allocations: 398.1 kB / 0.5613 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006852/0.4649, allocations: 198.8 kB / 0.5615 GB, free: 2.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4651, allocations: 370.8 kB / 0.5619 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/0.4688, allocations: 1.345 MB / 0.5632 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.4725, allocations: 1.486 MB / 0.5646 GB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00632/0.4789, allocations: 2.453 MB / 0.567 GB, free: 12.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4789, allocations: 3.938 kB / 0.567 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007145/0.486, allocations: 2.83 MB / 0.5698 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4861, allocations: 8 kB / 0.5698 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4861, allocations: 4 kB / 0.5698 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.4862, allocations: 8.25 kB / 0.5698 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.489, allocations: 407.4 kB / 0.5702 GB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.505e-05/0.4891, allocations: 19.98 kB / 0.5702 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4911, allocations: 223.6 kB / 0.5704 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.4913, allocations: 39.98 kB / 0.5705 GB, free: 9.395 MB / 430.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.0005617/0.4919, allocations: 230.8 kB / 0.5707 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.4921, allocations: 63.25 kB / 0.5708 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.4924, allocations: 108.7 kB / 0.5709 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4925, allocations: 3.984 kB / 0.5709 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4925, allocations: 4 kB / 0.5709 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.493, allocations: 320 kB / 0.5712 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.4932, allocations: 20 kB / 0.5712 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.4953, allocations: 207.7 kB / 0.5714 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006896/0.496, allocations: 184.9 kB / 0.5716 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008949/0.5049, allocations: 2.94 MB / 0.5744 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01081/0.5158, allocations: 4.495 MB / 0.5788 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003366/0.5192, allocations: 1.434 MB / 0.5802 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003397/0.5196, allocations: 267.1 kB / 0.5805 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Backend: time 2.91e-07/0.5196, allocations: 0 / 0.5805 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004603/0.5242, allocations: 1.84 MB / 0.5823 GB, free: 13.25 MB / 446.1 MB Notification: Performance of SimCode: time 0.002267/0.5265, allocations: 1.384 MB / 0.5836 GB, free: 11.82 MB / 446.1 MB Notification: Performance of Templates: time 0.04113/0.5676, allocations: 28.38 MB / 0.6113 GB, free: 15.45 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches