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.001375/0.001375, allocations: 84.23 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001453/0.001453, allocations: 163.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.534/1.534, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2255/0.2255, allocations: 34.3 MB / 295 MB, free: 14.54 MB / 286.1 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 4.819e-06/4.819e-06, allocations: 3.984 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.968e-05, allocations: 6.219 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003459/0.003489, allocations: 2.258 MB / 444.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.005245, allocations: 0.9396 MB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.005399, allocations: 11.88 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.005776, allocations: 115.2 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.006036, allocations: 111.2 kB / 446.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.006671, allocations: 291.4 kB / 446.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.007485, allocations: 0.7211 MB / 447.1 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.007634, allocations: 45.2 kB / 447.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004654/0.0081, allocations: 403.2 kB / 447.5 MB, free: 492 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.008503, allocations: 291.2 kB / 447.8 MB, free: 200 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.008613, allocations: 64 kB / 447.9 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.008731, allocations: 60 kB / 448 MB, free: 76 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.217/0.2257, allocations: 202.4 kB / 448.1 MB, free: 16.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.226, allocations: 176.8 kB / 448.3 MB, free: 16.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009223/0.2269, allocations: 0.6121 MB / 448.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2269, allocations: 1.125 kB / 448.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2269, allocations: 0 / 448.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2269, allocations: 0.8906 kB / 448.9 MB, free: 16.18 MB / 366.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.002658/0.2296, allocations: 0.8728 MB / 449.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.2297, allocations: 8.656 kB / 449.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2298, allocations: 69.69 kB / 449.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006017/0.2304, allocations: 315.1 kB / 450.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/0.2311, allocations: 0.6759 MB / 450.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2312, allocations: 39.86 kB / 450.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.2339, allocations: 0.818 MB / 451.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.234, allocations: 6.109 kB / 451.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.234, allocations: 19.5 kB / 451.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.234, allocations: 17.16 kB / 451.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.2383, allocations: 1.207 MB / 453 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.2412, allocations: 1.852 MB / 454.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.2443, allocations: 0.7434 MB / 455.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/0.2461, allocations: 464.9 kB / 456 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/0.2462, allocations: 8.891 kB / 456 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2462, allocations: 39.2 kB / 456.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/0.2462, allocations: 4.469 kB / 456.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=122): time 0.09887/0.3451, allocations: 15.55 MB / 471.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.3451, allocations: 94.42 kB / 471.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.3459, allocations: 419.6 kB / 472.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003103/0.3462, allocations: 47.11 kB / 472.2 MB, free: 6.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3463, allocations: 219.9 kB / 472.4 MB, free: 6.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/0.3468, allocations: 416 kB / 472.8 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008006/0.3476, allocations: 205.9 kB / 473 MB, free: 6.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.3477, allocations: 378.2 kB / 473.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005264/0.353, allocations: 1.35 MB / 474.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005427/0.3584, allocations: 1.507 MB / 476.2 MB, free: 4.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00949/0.3679, allocations: 2.457 MB / 478.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3679, allocations: 4 kB / 478.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.01236/0.3802, allocations: 2.857 MB / 481.5 MB, free: 14.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.3803, allocations: 8 kB / 481.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3803, allocations: 0 / 481.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/0.3803, allocations: 8 kB / 481.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/0.3845, allocations: 410.2 kB / 482 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.397e-05/0.3846, allocations: 12.22 kB / 482 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/0.3878, allocations: 223.7 kB / 482.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.3881, allocations: 40 kB / 482.2 MB, free: 14.2 MB / 382.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: 12 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,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 (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.0008626/0.3889, allocations: 233.9 kB / 482.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/0.3894, allocations: 70.86 kB / 482.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3897, allocations: 116.7 kB / 482.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.3897, allocations: 12 kB / 482.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-05/0.3898, allocations: 5.375 kB / 482.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.3898, allocations: 3.984 kB / 482.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/0.4094, allocations: 4.79 MB / 487.4 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/0.4094, allocations: 28.23 kB / 487.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.4112, allocations: 347.4 kB / 487.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/0.4112, allocations: 35.94 kB / 487.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.4113, allocations: 51.98 kB / 487.9 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.921e-05/0.4114, allocations: 43.8 kB / 487.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.92e-05/0.4114, allocations: 31.88 kB / 488 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008808/0.4202, allocations: 3.088 MB / 491.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.4208, allocations: 171.4 kB / 491.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.4209, allocations: 51.98 kB / 491.3 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/0.4224, allocations: 195.8 kB / 491.5 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.423, allocations: 219.2 kB / 491.7 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.4231, allocations: 63.94 kB / 491.7 MB, free: 4.148 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004071/0.4235, allocations: 279.1 kB / 492 MB, free: 3.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4235, allocations: 0 / 492 MB, free: 3.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4246, allocations: 236 kB / 492.3 MB, free: 3.645 MB / 382.1 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.0002665/0.4249, allocations: 167.3 kB / 492.4 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007469/0.4323, allocations: 2.19 MB / 494.6 MB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/0.4323, allocations: 0 / 494.6 MB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004021/0.4364, allocations: 1.069 MB / 495.7 MB, free: 228 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.4378, allocations: 150.7 kB / 495.8 MB, free: 88 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.4424, allocations: 1.94 MB / 497.8 MB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.4428, allocations: 325.8 kB / 498.1 MB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001113/0.444, allocations: 210.8 kB / 498.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.4446, allocations: 72.48 kB / 498.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4446, allocations: 3.938 kB / 498.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of Templates: time 0.02981/0.4744, allocations: 17.95 MB / 0.5042 GB, free: 11.41 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.KinematicPTP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.848558664321899]