Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001085/0.001085, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001249/0.001249, allocations: 168.7 kB / 24.91 MB, free: 9.156 MB / 18.57 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.26/0.26, allocations: 34.25 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.185e-05, allocations: 4.109 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002438/0.00245, allocations: 2.375 MB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003623, allocations: 0.9827 MB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.003727, allocations: 15.88 kB / 328.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.00393, allocations: 111.2 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.004074, allocations: 99.33 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.004421, allocations: 303.3 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.004882, allocations: 0.725 MB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.004973, allocations: 53.91 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.005253, allocations: 391.2 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.005494, allocations: 287.2 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.005556, allocations: 64 kB / 330.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.005608, allocations: 60 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.005736, allocations: 203.4 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.005843, allocations: 179.5 kB / 331.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.006151, allocations: 466.4 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.006152, allocations: 0 / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.006153, allocations: 0 / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.006156, allocations: 0 / 331.5 MB, free: 1.379 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.0008954/0.007052, allocations: 0.7848 MB / 332.3 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.688e-05/0.007079, allocations: 12.03 kB / 332.3 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.007179, allocations: 100.9 kB / 332.4 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.007452, allocations: 264.4 kB / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.007758, allocations: 0.6552 MB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.007812, allocations: 44.36 kB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.008382, allocations: 0.5158 MB / 333.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.008395, allocations: 8.125 kB / 333.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.008429, allocations: 24.06 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.008437, allocations: 12 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.008927, allocations: 342.3 kB / 334.3 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.01013, allocations: 1.42 MB / 335.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.01075, allocations: 453.6 kB / 336.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.01092, allocations: 134.8 kB / 336.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.01097, allocations: 8.562 kB / 336.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.01099, allocations: 39.69 kB / 336.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.523e-06/0.01099, allocations: 0 / 336.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01691/0.0279, allocations: 7.705 MB / 344 MB, free: 4.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.02794, allocations: 90.11 kB / 344.1 MB, free: 4.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.02814, allocations: 327.2 kB / 344.4 MB, free: 4.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/0.02823, allocations: 45.7 kB / 344.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.02833, allocations: 190 kB / 344.7 MB, free: 3.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.02857, allocations: 428.3 kB / 345.1 MB, free: 3.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.0289, allocations: 194.8 kB / 345.3 MB, free: 3.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.02901, allocations: 386.6 kB / 345.7 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.02952, allocations: 429.4 kB / 346.1 MB, free: 2.371 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.0301, allocations: 0.5682 MB / 346.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.03113, allocations: 0.9916 MB / 347.6 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03113, allocations: 3.938 kB / 347.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001301/0.03243, allocations: 1.098 MB / 348.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.03244, allocations: 4 kB / 348.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.03245, allocations: 4 kB / 348.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.03246, allocations: 8 kB / 348.8 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.03363, allocations: 375.8 kB / 349.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.03364, allocations: 12 kB / 349.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.03432, allocations: 159.8 kB / 349.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.0344, allocations: 35.98 kB / 349.3 MB, free: 15.03 MB / 330.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.0002459/0.03464, allocations: 180.3 kB / 349.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.03482, allocations: 79.94 kB / 349.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.03492, allocations: 104.7 kB / 349.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.03493, allocations: 12 kB / 349.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.03493, allocations: 4 kB / 349.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.03494, allocations: 7.969 kB / 349.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.03834, allocations: 2.598 MB / 352.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.03836, allocations: 27.94 kB / 352.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.03896, allocations: 308 kB / 352.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.03897, allocations: 24 kB / 352.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.03903, allocations: 55.98 kB / 352.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-05/0.03905, allocations: 43.8 kB / 352.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/0.03906, allocations: 31.88 kB / 352.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.04029, allocations: 1.611 MB / 354.4 MB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.04047, allocations: 107.5 kB / 354.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.04054, allocations: 55.98 kB / 354.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.04102, allocations: 139.8 kB / 354.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.04127, allocations: 203.2 kB / 354.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/0.04132, allocations: 51.98 kB / 354.9 MB, free: 8.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.015e-05/0.04141, allocations: 124.7 kB / 355.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04141, allocations: 0 / 355.1 MB, free: 8.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.04194, allocations: 235.9 kB / 355.3 MB, free: 8.441 MB / 330.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.0001324/0.04207, allocations: 152.5 kB / 355.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.0431, allocations: 0.9056 MB / 356.3 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.04311, allocations: 8 kB / 356.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.04349, allocations: 340.8 kB / 356.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000711/0.0442, allocations: 221.9 kB / 356.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.04588, allocations: 1.75 MB / 358.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.04601, allocations: 180.9 kB / 358.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005255/0.04653, allocations: 161.9 kB / 359 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006038/0.04714, allocations: 183.3 kB / 359.2 MB, free: 4.207 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04714, allocations: 4 kB / 359.2 MB, free: 4.203 MB / 330.7 MB Notification: Performance of Templates: time 0.01794/0.06508, allocations: 19.24 MB / 378.4 MB, free: 1.098 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.174260253086686]