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.001471/0.001471, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.004453/0.004453, allocations: 172 kB / 24.82 MB, free: 9.32 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 1.12/1.12, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2966/0.2966, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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 2.084e-06/2.084e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.955e-05, allocations: 2.312 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002613/0.002632, allocations: 2.325 MB / 380.8 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003921, allocations: 0.9514 MB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.004069, allocations: 11.88 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.004459, allocations: 119.2 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.004664, allocations: 103.3 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.005209, allocations: 303.3 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006459/0.005855, allocations: 0.725 MB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.006015, allocations: 45.25 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.006419, allocations: 399.2 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.006749, allocations: 291.2 kB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.006835, allocations: 64 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.846e-05/0.006903, allocations: 64 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.007075, allocations: 199.4 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.00722, allocations: 171.6 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.007671, allocations: 466.5 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007674, allocations: 0 / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007675, allocations: 0 / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.00768, allocations: 0 / 384.7 MB, free: 12.19 MB / 362.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.001251/0.008931, allocations: 0.9244 MB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.008976, allocations: 12.03 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.009107, allocations: 108.6 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.009482, allocations: 307.2 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/0.009915, allocations: 0.6552 MB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.009993, allocations: 44.38 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.01075, allocations: 0.5446 MB / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.01077, allocations: 192 / 387.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.01081, allocations: 28.11 kB / 387.3 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.01083, allocations: 8 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.01142, allocations: 377.2 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.01332, allocations: 2.111 MB / 389.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.01409, allocations: 387.4 kB / 390.2 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.0143, allocations: 152.4 kB / 390.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.766e-05/0.01437, allocations: 16.56 kB / 390.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.0144, allocations: 38.52 kB / 390.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.314e-06/0.0144, allocations: 4 kB / 390.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01617/0.03057, allocations: 7.183 MB / 397.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.03061, allocations: 90.11 kB / 397.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.03085, allocations: 402.3 kB / 398 MB, free: 14.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.169e-05/0.03095, allocations: 45.7 kB / 398.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.03107, allocations: 272.2 kB / 398.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.03133, allocations: 420.3 kB / 398.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.03167, allocations: 216.4 kB / 399 MB, free: 13.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.03186, allocations: 0.5546 MB / 399.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.03245, allocations: 0.5101 MB / 400 MB, free: 12.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.03313, allocations: 0.7082 MB / 400.7 MB, free: 11.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.03426, allocations: 1.085 MB / 401.8 MB, free: 10.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.03427, allocations: 0 / 401.8 MB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001649/0.03592, allocations: 1.356 MB / 403.2 MB, free: 9.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.03593, allocations: 8 kB / 403.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.03594, allocations: 4 kB / 403.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.03596, allocations: 8 kB / 403.2 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.03709, allocations: 355.8 kB / 403.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.0371, allocations: 15.97 kB / 403.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.03783, allocations: 163.8 kB / 403.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.03792, allocations: 39.98 kB / 403.8 MB, free: 8.453 MB / 378.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.000277/0.0382, allocations: 224.2 kB / 404 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.03841, allocations: 103.6 kB / 404.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.03852, allocations: 112.7 kB / 404.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.03852, allocations: 12 kB / 404.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.03853, allocations: 0 / 404.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.03854, allocations: 7.969 kB / 404.2 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.04241, allocations: 3.121 MB / 407.3 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.04242, allocations: 20 kB / 407.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.04301, allocations: 300 kB / 407.6 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.04303, allocations: 28 kB / 407.7 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.04309, allocations: 59.92 kB / 407.7 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.892e-05/0.0431, allocations: 39.86 kB / 407.8 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-05/0.04312, allocations: 31.88 kB / 407.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.04473, allocations: 1.98 MB / 409.8 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.04495, allocations: 167.5 kB / 409.9 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.04502, allocations: 55.92 kB / 410 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.04551, allocations: 135.9 kB / 410.1 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.04575, allocations: 203.2 kB / 410.3 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.0458, allocations: 52 kB / 410.4 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.04592, allocations: 243 kB / 410.6 MB, free: 0.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04592, allocations: 0 / 410.6 MB, free: 0.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005792/0.0465, allocations: 240 kB / 410.8 MB, free: 0.5156 MB / 378.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.0001528/0.04666, allocations: 162.7 kB / 411 MB, free: 356 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.04779, allocations: 1.006 MB / 412 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.0478, allocations: 4 kB / 412 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.0482, allocations: 355.6 kB / 412.4 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.04896, allocations: 219.7 kB / 412.6 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.05093, allocations: 1.996 MB / 414.6 MB, free: 12.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.05107, allocations: 188.9 kB / 414.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005378/0.05161, allocations: 161.9 kB / 414.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005964/0.05221, allocations: 206.2 kB / 415.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.05221, allocations: 0 / 415.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of Templates: time 0.0195/0.07171, allocations: 19.43 MB / 434.5 MB, free: 8.453 MB / 410.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.820907379966229]