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.0009384/0.0009384, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009911/0.0009911, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.8714/0.8714, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1323/0.1323, allocations: 34.27 MB / 296.9 MB, free: 13.9 MB / 282.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 1.323e-06/1.323e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.078e-05, allocations: 6.25 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.001775/0.001786, allocations: 2.313 MB / 381.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.002712, allocations: 0.9512 MB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.002826, allocations: 11.88 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.003071, allocations: 123.2 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.003212, allocations: 103.3 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.00356, allocations: 303.3 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.003906, allocations: 0.7289 MB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.004002, allocations: 37.27 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.004227, allocations: 403.2 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.004425, allocations: 295.1 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.004478, allocations: 60 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.004523, allocations: 64 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.004622, allocations: 203.4 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.004709, allocations: 167.6 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.00499, allocations: 466.5 kB / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004992, allocations: 0 / 385.5 MB, free: 17.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.004992, allocations: 3.938 kB / 385.5 MB, free: 17.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004996, allocations: 0 / 385.5 MB, free: 17.19 MB / 314.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.0008735/0.00587, allocations: 0.9205 MB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.471e-05/0.005894, allocations: 8.031 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.005984, allocations: 112.6 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.006216, allocations: 299.3 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.006396, allocations: 0.663 MB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.006448, allocations: 48.33 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.006964, allocations: 0.5329 MB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.006977, allocations: 192 / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.007012, allocations: 24.12 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.007018, allocations: 8 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.007481, allocations: 385.2 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.00856, allocations: 2.116 MB / 390.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.009115, allocations: 387.4 kB / 390.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.009277, allocations: 156.4 kB / 391.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.009323, allocations: 8.562 kB / 391.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.009337, allocations: 46.52 kB / 391.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.373e-06/0.009338, allocations: 4 kB / 391.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=122): time 0.01457/0.02391, allocations: 7.18 MB / 398.3 MB, free: 3.859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.02393, allocations: 94.11 kB / 398.4 MB, free: 3.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.02409, allocations: 402.3 kB / 398.8 MB, free: 3.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.15e-05/0.02418, allocations: 45.7 kB / 398.9 MB, free: 3.293 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.02425, allocations: 272.2 kB / 399.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.02442, allocations: 424.3 kB / 399.5 MB, free: 2.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003141/0.02474, allocations: 212.4 kB / 399.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.0248, allocations: 0.5546 MB / 400.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.02531, allocations: 0.51 MB / 400.8 MB, free: 1.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.02585, allocations: 0.7044 MB / 401.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.02689, allocations: 1.085 MB / 402.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.02689, allocations: 0 / 402.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001636/0.02853, allocations: 1.352 MB / 404 MB, free: 14.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.02854, allocations: 8.312 kB / 404 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.02855, allocations: 8 kB / 404 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.02856, allocations: 8 kB / 404 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.02975, allocations: 351.5 kB / 404.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.02975, allocations: 11.98 kB / 404.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.03054, allocations: 167.8 kB / 404.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.842e-05/0.03063, allocations: 31.98 kB / 404.5 MB, free: 13.46 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.0002782/0.03091, allocations: 228.2 kB / 404.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.03113, allocations: 99.58 kB / 404.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.03124, allocations: 112.7 kB / 405 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.03124, allocations: 12 kB / 405 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.03125, allocations: 0 / 405 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.03126, allocations: 11.91 kB / 405 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.03526, allocations: 3.125 MB / 408.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.03527, allocations: 20 kB / 408.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006328/0.0359, allocations: 304.3 kB / 408.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.03592, allocations: 24 kB / 408.5 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.03598, allocations: 59.92 kB / 408.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.91e-05/0.036, allocations: 39.86 kB / 408.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.03601, allocations: 31.88 kB / 408.6 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.03767, allocations: 1.979 MB / 410.6 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.03788, allocations: 171.4 kB / 410.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.03796, allocations: 51.92 kB / 410.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.03848, allocations: 139.8 kB / 410.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.03872, allocations: 199.2 kB / 411.1 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.03877, allocations: 52 kB / 411.2 MB, free: 5.992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.0389, allocations: 247 kB / 411.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0389, allocations: 0 / 411.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000603/0.0395, allocations: 239.9 kB / 411.6 MB, free: 5.516 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.0001352/0.03964, allocations: 162.8 kB / 411.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.04104, allocations: 1.006 MB / 412.8 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.04105, allocations: 4 kB / 412.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.04144, allocations: 355.1 kB / 413.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.04221, allocations: 212.5 kB / 413.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.04405, allocations: 1.989 MB / 415.3 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.04419, allocations: 184.9 kB / 415.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005365/0.04473, allocations: 169.9 kB / 415.7 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006019/0.04533, allocations: 202.2 kB / 415.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.04533, allocations: 0 / 415.9 MB, free: 0.793 MB / 330.7 MB Notification: Performance of Templates: time 0.01953/0.06486, allocations: 19.96 MB / 435.9 MB, free: 12.98 MB / 362.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 -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.240607106592506]