Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008158/0.0008158, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001887, allocations: 452 kB / 10.43 MB, free: 264 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.0006946/0.0006946, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008733/0.001568, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8201/0.8201, allocations: 158.6 MB / 171.2 MB, free: 2.52 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1416/0.9617, allocations: 49.51 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1368/0.1368, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01819/0.155, allocations: 12.3 MB / 266.1 MB, free: 3.891 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.461e-05, allocations: 2.312 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002165/0.00218, allocations: 2.376 MB / 269.8 MB, free: 172 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003401, allocations: 0.9948 MB / 270.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.00354, allocations: 11.88 kB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.003753, allocations: 115.2 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.003918, allocations: 99.33 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.004363, allocations: 307.3 kB / 271.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.004882, allocations: 0.7134 MB / 272 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004988, allocations: 57.22 kB / 272 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003656/0.005354, allocations: 443.8 kB / 272.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.00562, allocations: 295.1 kB / 272.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-05/0.005693, allocations: 64 kB / 272.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.005757, allocations: 64 kB / 272.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.005866, allocations: 147.6 kB / 273 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.005961, allocations: 119.8 kB / 273.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.006269, allocations: 394.7 kB / 273.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.006276, allocations: 0 / 273.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006277, allocations: 0 / 273.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.006286, allocations: 4 kB / 273.5 MB, free: 12.37 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.001222/0.007508, allocations: 0.8736 MB / 274.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.007537, allocations: 16.03 kB / 274.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.007646, allocations: 96.88 kB / 274.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.00794, allocations: 256.4 kB / 274.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002929/0.008233, allocations: 0.663 MB / 275.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.142e-05/0.008295, allocations: 40.31 kB / 275.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.008882, allocations: 0.5237 MB / 276 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.008896, allocations: 8.172 kB / 276 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.008931, allocations: 20.12 kB / 276 MB, free: 9.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.008939, allocations: 8 kB / 276 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004691/0.009408, allocations: 339 kB / 276.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.0106, allocations: 1.427 MB / 277.8 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.01123, allocations: 453.6 kB / 278.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.0114, allocations: 135.6 kB / 278.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.105e-05/0.01146, allocations: 16 kB / 278.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.01148, allocations: 42.5 kB / 278.4 MB, free: 7.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 1.663e-06/0.01148, allocations: 0 / 278.4 MB, free: 7.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.1308/0.1423, allocations: 7.753 MB / 286.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1423, allocations: 89.89 kB / 286.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1425, allocations: 330 kB / 286.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.896e-05/0.1426, allocations: 48.33 kB / 286.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.1427, allocations: 193.2 kB / 286.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.1429, allocations: 424.2 kB / 287.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.1432, allocations: 206.4 kB / 287.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.1433, allocations: 380.6 kB / 287.8 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.1438, allocations: 430.7 kB / 288.2 MB, free: 13.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.1444, allocations: 0.5668 MB / 288.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.1454, allocations: 1.006 MB / 289.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1454, allocations: 5.062 kB / 289.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00141/0.1468, allocations: 1.091 MB / 290.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1469, allocations: 5.781 kB / 290.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1469, allocations: 4.078 kB / 290.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1469, allocations: 9.25 kB / 290.9 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.1481, allocations: 390.3 kB / 291.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1482, allocations: 14.12 kB / 291.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007357/0.1489, allocations: 164.9 kB / 291.5 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/0.149, allocations: 29.58 kB / 291.5 MB, free: 13.49 MB / 282.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.000249/0.1492, allocations: 184.1 kB / 291.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.1494, allocations: 79.83 kB / 291.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.96e-05/0.1495, allocations: 111.4 kB / 291.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1495, allocations: 13.17 kB / 291.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.1495, allocations: 1.719 kB / 291.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1495, allocations: 6.797 kB / 291.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.1531, allocations: 2.593 MB / 294.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.1531, allocations: 19.59 kB / 294.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/0.1537, allocations: 323.3 kB / 294.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.1539, allocations: 107.1 kB / 294.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/0.1539, allocations: 33.7 kB / 295 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.567e-05/0.154, allocations: 43.73 kB / 295 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.775e-05/0.154, allocations: 44.23 kB / 295.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/0.154, allocations: 36.06 kB / 295.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1552, allocations: 1.609 MB / 296.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.1553, allocations: 55.05 kB / 296.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.1558, allocations: 136.5 kB / 296.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.156, allocations: 213.6 kB / 297.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.1561, allocations: 49.8 kB / 297.1 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.268e-05/0.1562, allocations: 119.3 kB / 297.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1562, allocations: 3.188 kB / 297.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005854/0.1567, allocations: 235.7 kB / 297.5 MB, free: 10.92 MB / 282.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.0001372/0.1569, allocations: 151 kB / 297.6 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.1578, allocations: 0.9277 MB / 298.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.488e-05/0.1578, allocations: 11.5 kB / 298.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.1584, allocations: 430.9 kB / 299 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.1591, allocations: 0.6341 MB / 299.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1611, allocations: 2.055 MB / 301.7 MB, free: 8.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1613, allocations: 183.1 kB / 301.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005016/0.1618, allocations: 161.3 kB / 302 MB, free: 8.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/0.1623, allocations: 185.3 kB / 302.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1623, allocations: 0 / 302.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of Templates: time 0.01708/0.1794, allocations: 19.56 MB / 321.8 MB, free: 5.059 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.9333640951663256]