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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001566/0.002661, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009592/0.0009592, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009741/0.001933, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1118/1.136, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2698/0.2698, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02118/0.291, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.536e-05, allocations: 2.312 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004143/0.004169, allocations: 2.375 MB / 293 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.006157, allocations: 0.9845 MB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.006349, allocations: 11.88 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.006673, allocations: 111.2 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.006934, allocations: 107.3 kB / 294.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.007617, allocations: 303.4 kB / 294.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007645/0.008381, allocations: 0.7023 MB / 295.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.008529, allocations: 49.11 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.009079, allocations: 451.7 kB / 295.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.009463, allocations: 283.2 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.009574, allocations: 64 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.009661, allocations: 67.94 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.009825, allocations: 139.6 kB / 296.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.009979, allocations: 115.8 kB / 296.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.01044, allocations: 394.7 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.01045, allocations: 0 / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01045, allocations: 0 / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.01047, allocations: 3.938 kB / 296.7 MB, free: 2.176 MB / 282.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.001659/0.01212, allocations: 0.8742 MB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01216, allocations: 16.02 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.01231, allocations: 96.88 kB / 297.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.01274, allocations: 252.5 kB / 297.9 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004381/0.01318, allocations: 0.663 MB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.01326, allocations: 40.38 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/0.0142, allocations: 0.5313 MB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.01422, allocations: 4.188 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.01427, allocations: 20.12 kB / 299.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01429, allocations: 8 kB / 299.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.01481, allocations: 351.4 kB / 299.5 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.01604, allocations: 1.423 MB / 301 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.01666, allocations: 450.1 kB / 301.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.01682, allocations: 126.8 kB / 301.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.01688, allocations: 12.56 kB / 301.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.0169, allocations: 39.69 kB / 301.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.545e-06/0.0169, allocations: 3.984 kB / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01629/0.0332, allocations: 7.722 MB / 309.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.03324, allocations: 90.11 kB / 309.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.03345, allocations: 331.1 kB / 309.7 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/0.03355, allocations: 45.7 kB / 309.8 MB, free: 4.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.03363, allocations: 194 kB / 310 MB, free: 4.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.03413, allocations: 424.2 kB / 310.4 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.03444, allocations: 198.8 kB / 310.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.03457, allocations: 378.6 kB / 310.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/0.03508, allocations: 425.4 kB / 311.4 MB, free: 3.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.03563, allocations: 0.5721 MB / 311.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.03658, allocations: 1.004 MB / 312.9 MB, free: 1.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.03658, allocations: 3.938 kB / 312.9 MB, free: 1.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001223/0.0378, allocations: 1.09 MB / 314 MB, free: 300 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.03782, allocations: 8 kB / 314 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.03783, allocations: 4 kB / 314 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.03785, allocations: 8 kB / 314 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.03904, allocations: 403.7 kB / 314.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.03905, allocations: 8 kB / 314.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.03969, allocations: 159.8 kB / 314.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/0.03976, allocations: 31.98 kB / 314.6 MB, free: 15.68 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.0002581/0.04002, allocations: 184.4 kB / 314.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.0402, allocations: 75.94 kB / 314.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.04032, allocations: 108.7 kB / 315 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.04032, allocations: 16 kB / 315 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.04033, allocations: 0 / 315 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.04034, allocations: 3.984 kB / 315 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.044, allocations: 2.59 MB / 317.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.04401, allocations: 24 kB / 317.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.04463, allocations: 327.5 kB / 317.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.04481, allocations: 103.5 kB / 318 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.04482, allocations: 31.94 kB / 318.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.04487, allocations: 48.22 kB / 318.1 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-05/0.04489, allocations: 47.84 kB / 318.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/0.0449, allocations: 31.88 kB / 318.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.04611, allocations: 1.614 MB / 319.8 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.04619, allocations: 47.98 kB / 319.9 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.04665, allocations: 143.8 kB / 320 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.04688, allocations: 215.1 kB / 320.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.04693, allocations: 48 kB / 320.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.679e-05/0.04701, allocations: 120.7 kB / 320.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04701, allocations: 0 / 320.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005281/0.04754, allocations: 232 kB / 320.6 MB, free: 9.09 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.0001697/0.04771, allocations: 156.6 kB / 320.8 MB, free: 8.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000999/0.04871, allocations: 0.9019 MB / 321.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.162e-05/0.04873, allocations: 12 kB / 321.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.0491, allocations: 354.2 kB / 322 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/0.04984, allocations: 272 kB / 322.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.05257, allocations: 2.054 MB / 324.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.05272, allocations: 184.9 kB / 324.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.05324, allocations: 169.9 kB / 324.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005484/0.05379, allocations: 175.3 kB / 324.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.05379, allocations: 0 / 324.9 MB, free: 4.488 MB / 314.7 MB Notification: Performance of Templates: time 0.01875/0.07254, allocations: 19.38 MB / 344.2 MB, free: 1.242 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/KinematicPTP/KinematicPTP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3758747773244977]