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.0009328/0.0009328, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009756/0.0009756, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.9751/0.9751, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.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.1347/0.1347, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.653e-06/1.653e-06, allocations: 0 / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.794e-05, allocations: 2.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.1486/0.1487, allocations: 2.311 MB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1504, allocations: 0.9925 MB / 302.4 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1506, allocations: 13.62 kB / 302.4 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1509, allocations: 108.5 kB / 302.5 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1511, allocations: 115.5 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005969/0.1517, allocations: 292.9 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.1524, allocations: 0.7287 MB / 303.6 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1525, allocations: 48.05 kB / 303.7 MB, free: 18.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.1529, allocations: 405.7 kB / 304.1 MB, free: 18.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.1533, allocations: 288.9 kB / 304.3 MB, free: 18.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1534, allocations: 62.56 kB / 304.4 MB, free: 18.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.1535, allocations: 63.41 kB / 304.5 MB, free: 18.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1537, allocations: 200.3 kB / 304.7 MB, free: 18.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1539, allocations: 180.9 kB / 304.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.1543, allocations: 462.3 kB / 305.3 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1543, allocations: 3.031 kB / 305.3 MB, free: 18.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1543, allocations: 0 / 305.3 MB, free: 18.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1544, allocations: 0.5312 kB / 305.3 MB, free: 18.15 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.001099/0.1555, allocations: 0.7958 MB / 306.1 MB, free: 17.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1555, allocations: 9.562 kB / 306.1 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.1556, allocations: 95.56 kB / 306.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1559, allocations: 260.4 kB / 306.4 MB, free: 17.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.1562, allocations: 0.6597 MB / 307.1 MB, free: 16.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.1562, allocations: 47.69 kB / 307.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/0.157, allocations: 0.5242 MB / 307.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.157, allocations: 1.438 kB / 307.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.157, allocations: 25.31 kB / 307.7 MB, free: 16.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.157, allocations: 9.844 kB / 307.7 MB, free: 16.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.1576, allocations: 346.7 kB / 308 MB, free: 16.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1589, allocations: 1.436 MB / 309.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1596, allocations: 439.5 kB / 309.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.1598, allocations: 136.4 kB / 310 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.183e-05/0.1599, allocations: 11.81 kB / 310 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1599, allocations: 46.52 kB / 310.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 1.623e-06/0.1599, allocations: 0 / 310.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=122): time 0.01721/0.1771, allocations: 7.708 MB / 317.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1771, allocations: 90.11 kB / 317.9 MB, free: 11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1774, allocations: 335.2 kB / 318.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.953e-05/0.1775, allocations: 45.7 kB / 318.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1775, allocations: 194 kB / 318.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.1777, allocations: 424.3 kB / 318.9 MB, free: 9.992 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/0.178, allocations: 198.8 kB / 319.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.1781, allocations: 382.6 kB / 319.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.1785, allocations: 425.4 kB / 319.8 MB, free: 8.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.179, allocations: 0.5709 MB / 320.4 MB, free: 8.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008343/0.1798, allocations: 0.9987 MB / 321.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1798, allocations: 3.938 kB / 321.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001117/0.181, allocations: 1.086 MB / 322.5 MB, free: 6.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.181, allocations: 8 kB / 322.5 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.181, allocations: 4 kB / 322.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.181, allocations: 8.312 kB / 322.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.182, allocations: 363.4 kB / 322.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.182, allocations: 8 kB / 322.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.1827, allocations: 163.8 kB / 323.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.1827, allocations: 35.17 kB / 323.1 MB, free: 5.66 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.0002446/0.183, allocations: 184.3 kB / 323.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.1831, allocations: 75.94 kB / 323.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.1832, allocations: 108.7 kB / 323.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1832, allocations: 16 kB / 323.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1832, allocations: 0 / 323.5 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1833, allocations: 7.969 kB / 323.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.1863, allocations: 2.589 MB / 326.1 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.1863, allocations: 20 kB / 326.1 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.1868, allocations: 304 kB / 326.4 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.1868, allocations: 28 kB / 326.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.1869, allocations: 48.81 kB / 326.5 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.336e-05/0.1869, allocations: 43.8 kB / 326.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.1869, allocations: 35.81 kB / 326.5 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.188, allocations: 1.611 MB / 328.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.1881, allocations: 111.5 kB / 328.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.453e-05/0.1882, allocations: 51.98 kB / 328.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.1887, allocations: 137 kB / 328.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.1889, allocations: 203.2 kB / 328.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.189, allocations: 55.94 kB / 328.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1891, allocations: 128.7 kB / 328.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1891, allocations: 0 / 328.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.1897, allocations: 236 kB / 329 MB, free: 15.08 MB / 298.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.0001614/0.1898, allocations: 147.9 kB / 329.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1909, allocations: 0.9055 MB / 330.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.1909, allocations: 4 kB / 330.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.1913, allocations: 359.8 kB / 330.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.192, allocations: 208 kB / 330.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.1939, allocations: 1.746 MB / 332.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.194, allocations: 189 kB / 332.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005261/0.1945, allocations: 158 kB / 332.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.1951, allocations: 183.3 kB / 332.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1951, allocations: 4 kB / 332.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of Templates: time 0.02016/0.2152, allocations: 19.35 MB / 352.3 MB, free: 7.539 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.262685315683484]