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.001449/0.001449, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001226/0.001226, allocations: 166.3 kB / 24.84 MB, free: 9.297 MB / 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 1.01/1.01, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.147/0.147, allocations: 32.38 MB / 271.5 MB, free: 14.52 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 2.004e-06/2.004e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.567e-05, allocations: 2.312 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003842/0.003877, allocations: 2.316 MB / 351.2 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.005895, allocations: 0.9678 MB / 352.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.006076, allocations: 11.94 kB / 352.2 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003617/0.006438, allocations: 119.2 kB / 352.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.006622, allocations: 111.2 kB / 352.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.007092, allocations: 291.4 kB / 352.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.007575, allocations: 0.7367 MB / 353.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.007708, allocations: 53.05 kB / 353.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.007992, allocations: 395.2 kB / 353.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.008248, allocations: 291.2 kB / 354.2 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.008314, allocations: 64 kB / 354.2 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.008364, allocations: 64 kB / 354.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.008484, allocations: 199.4 kB / 354.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.00864, allocations: 183.5 kB / 354.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003838/0.009024, allocations: 462.4 kB / 355.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.009026, allocations: 4 kB / 355.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.009027, allocations: 0 / 355.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.009032, allocations: 4 kB / 355.1 MB, free: 2.922 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.001051/0.01008, allocations: 0.9206 MB / 356 MB, free: 1.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.01013, allocations: 12.03 kB / 356.1 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.01024, allocations: 112.6 kB / 356.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.01055, allocations: 299.1 kB / 356.5 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00027/0.01082, allocations: 0.663 MB / 357.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.01088, allocations: 44.38 kB / 357.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.0115, allocations: 0.5407 MB / 357.7 MB, free: 84 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.01152, allocations: 4.125 kB / 357.7 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.01156, allocations: 24.12 kB / 357.7 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.01157, allocations: 12 kB / 357.7 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.01219, allocations: 389 kB / 358.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.01408, allocations: 2.114 MB / 360.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.0148, allocations: 387.4 kB / 360.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.015, allocations: 157.2 kB / 360.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.01505, allocations: 12 kB / 360.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01508, allocations: 45.33 kB / 360.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 1.723e-06/0.01508, allocations: 0 / 360.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01746/0.03255, allocations: 7.186 MB / 368 MB, free: 5.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.03262, allocations: 90.11 kB / 368.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.03333, allocations: 402.3 kB / 368.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.03343, allocations: 45.7 kB / 368.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.03357, allocations: 272.2 kB / 368.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.0339, allocations: 420.3 kB / 369.2 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.0343, allocations: 212.4 kB / 369.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.03447, allocations: 0.5546 MB / 370 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.0351, allocations: 0.5062 MB / 370.5 MB, free: 3.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.03581, allocations: 0.7005 MB / 371.2 MB, free: 2.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.03704, allocations: 1.093 MB / 372.3 MB, free: 1.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.03705, allocations: 0 / 372.3 MB, free: 1.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001824/0.03887, allocations: 1.364 MB / 373.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.03889, allocations: 4 kB / 373.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.03891, allocations: 4 kB / 373.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.03892, allocations: 12.31 kB / 373.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.04017, allocations: 355.5 kB / 374 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.04018, allocations: 8 kB / 374 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.04098, allocations: 163.8 kB / 374.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.04107, allocations: 39.97 kB / 374.2 MB, free: 15.17 MB / 314.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.0003483/0.04142, allocations: 220.3 kB / 374.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.04166, allocations: 107.6 kB / 374.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.0418, allocations: 104.7 kB / 374.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.04181, allocations: 15.98 kB / 374.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.04182, allocations: 0 / 374.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.04183, allocations: 3.984 kB / 374.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/0.04641, allocations: 3.125 MB / 377.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.04643, allocations: 24 kB / 377.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/0.04706, allocations: 308.1 kB / 378.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.04708, allocations: 28 kB / 378.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.843e-05/0.04713, allocations: 51.94 kB / 378.2 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.177e-05/0.04716, allocations: 39.8 kB / 378.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.531e-05/0.04717, allocations: 31.88 kB / 378.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.04882, allocations: 1.977 MB / 380.2 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.04903, allocations: 171.4 kB / 380.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.04911, allocations: 59.86 kB / 380.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/0.04963, allocations: 135.9 kB / 380.6 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.0499, allocations: 215.2 kB / 380.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.04996, allocations: 48 kB / 380.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.05009, allocations: 243 kB / 381.1 MB, free: 7.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05009, allocations: 4 kB / 381.1 MB, free: 7.453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.05073, allocations: 232 kB / 381.3 MB, free: 7.227 MB / 314.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.0001619/0.05089, allocations: 166.8 kB / 381.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.05237, allocations: 1.006 MB / 382.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.05238, allocations: 4 kB / 382.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.05279, allocations: 354.3 kB / 382.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.05357, allocations: 206.7 kB / 383 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.05559, allocations: 1.977 MB / 385 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.05574, allocations: 184.9 kB / 385.2 MB, free: 2.883 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005662/0.0563, allocations: 165.9 kB / 385.4 MB, free: 2.719 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/0.05691, allocations: 210.2 kB / 385.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.05691, allocations: 0 / 385.6 MB, free: 2.512 MB / 314.7 MB Notification: Performance of Templates: time 0.02291/0.07982, allocations: 20.08 MB / 405.6 MB, free: 14.42 MB / 346.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.617189541924745]