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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007229/0.0007229, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001744, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006715/0.0006715, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/0.001589, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.037/1.037, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08846/1.126, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2565/0.2565, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02499/0.2815, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.7 MB " [Timeout remaining time 180] 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=5013,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=5013,variableFilter="time|integrator.y|integrator1.y|integrator2.y|integrator3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.184e-05, allocations: 5.078 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003815/0.003837, allocations: 2.38 MB / 296.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005769, allocations: 0.9865 MB / 297.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.005981, allocations: 11.88 kB / 297.5 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.006303, allocations: 111.2 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.006561, allocations: 107.3 kB / 297.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.007221, allocations: 299.4 kB / 298 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.008012, allocations: 0.7056 MB / 298.7 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.008168, allocations: 61.08 kB / 298.7 MB, free: 440 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006087/0.008776, allocations: 439.8 kB / 299.2 MB, free: 0 / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.009184, allocations: 283.2 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.009294, allocations: 60 kB / 299.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.009392, allocations: 64 kB / 299.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.009566, allocations: 155.5 kB / 299.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.00971, allocations: 119.7 kB / 299.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.01018, allocations: 394.7 kB / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.01019, allocations: 0 / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01019, allocations: 0 / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.01021, allocations: 0 / 300.2 MB, free: 14.95 MB / 298.7 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.001609/0.01182, allocations: 0.8747 MB / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.01186, allocations: 8.922 kB / 301.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.01204, allocations: 96.88 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.01249, allocations: 256.4 kB / 301.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004716/0.01296, allocations: 0.663 MB / 302.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.01306, allocations: 48.3 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000916/0.01397, allocations: 0.5236 MB / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.01399, allocations: 192 / 302.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.01404, allocations: 20.12 kB / 302.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.01405, allocations: 12 kB / 302.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.01455, allocations: 343 kB / 303.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.01585, allocations: 1.431 MB / 304.5 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.01651, allocations: 448 kB / 304.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.01668, allocations: 138.8 kB / 305.1 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.566e-05/0.01673, allocations: 12.56 kB / 305.1 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.01676, allocations: 39.69 kB / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.443e-06/0.01676, allocations: 0 / 305.1 MB, free: 9.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01674/0.03349, allocations: 7.759 MB / 312.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.03353, allocations: 90.11 kB / 313 MB, free: 1.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.03374, allocations: 331.1 kB / 313.3 MB, free: 1.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.391e-05/0.03384, allocations: 45.7 kB / 313.3 MB, free: 1.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.03393, allocations: 198 kB / 313.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.03419, allocations: 424.2 kB / 313.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.03449, allocations: 198.8 kB / 314.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.03459, allocations: 378.6 kB / 314.5 MB, free: 204 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.03509, allocations: 429.4 kB / 314.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.03563, allocations: 0.5737 MB / 315.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.03664, allocations: 0.9988 MB / 316.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.03664, allocations: 7.938 kB / 316.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001261/0.0379, allocations: 1.093 MB / 317.6 MB, free: 13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.03792, allocations: 8 kB / 317.6 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.03793, allocations: 4 kB / 317.6 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.03796, allocations: 8 kB / 317.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.03917, allocations: 395.7 kB / 318 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.03918, allocations: 8 kB / 318 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.03988, allocations: 159.8 kB / 318.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-05/0.03996, allocations: 35.98 kB / 318.2 MB, free: 12.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (integrator.local_reset,integrator1.local_reset,integrator2.local_reset,integrator3.local_reset,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP2a.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.000266/0.04023, allocations: 180.4 kB / 318.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.04039, allocations: 83.92 kB / 318.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.0405, allocations: 104.7 kB / 318.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.04051, allocations: 15.98 kB / 318.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.04052, allocations: 0 / 318.6 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.04053, allocations: 7.984 kB / 318.6 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.04406, allocations: 2.586 MB / 321.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.04407, allocations: 23.98 kB / 321.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.04469, allocations: 327.4 kB / 321.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.04488, allocations: 107.5 kB / 321.6 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.0449, allocations: 31.94 kB / 321.6 MB, free: 8.633 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.04494, allocations: 44.19 kB / 321.7 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.057e-05/0.04496, allocations: 47.84 kB / 321.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/0.04498, allocations: 27.88 kB / 321.8 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.04633, allocations: 1.611 MB / 323.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.04641, allocations: 55.98 kB / 323.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.04689, allocations: 139.8 kB / 323.6 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.04714, allocations: 219.1 kB / 323.8 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.04718, allocations: 48 kB / 323.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.825e-05/0.04728, allocations: 116.7 kB / 323.9 MB, free: 6.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04728, allocations: 0 / 323.9 MB, free: 6.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005688/0.04785, allocations: 236 kB / 324.2 MB, free: 5.809 MB / 314.7 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: 8 (kinematicPTP2b.moving[1],kinematicPTP2b.motion_ref,kinematicPTP1b.moving[1],kinematicPTP1b.motion_ref,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 (122): * Single equations (assignments): 122 * 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.0001536/0.048, allocations: 159.9 kB / 324.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.04902, allocations: 0.9154 MB / 325.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.111e-05/0.04904, allocations: 12 kB / 325.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.0496, allocations: 440.2 kB / 325.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.05047, allocations: 0.6311 MB / 326.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.05282, allocations: 2.058 MB / 328.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.05296, allocations: 184.9 kB / 328.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000513/0.05347, allocations: 161.9 kB / 328.7 MB, free: 0.832 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/0.05416, allocations: 191.3 kB / 328.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of SimCode: time 6.62e-07/0.05416, allocations: 0 / 328.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of Templates: time 0.02119/0.07535, allocations: 19.44 MB / 348.3 MB, free: 13.36 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.21502872928977]