Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001363/0.001363, allocations: 82.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.001035/0.001035, allocations: 166.8 kB / 24.82 MB, free: 9.211 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.8945/0.8945, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.KinematicPTP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.42e-05, allocations: 6.25 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.002679/0.002704, allocations: 2.324 MB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.004065, allocations: 0.9512 MB / 379.7 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.004274, allocations: 11.94 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.004635, allocations: 123.2 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.004901, allocations: 99.33 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.005595, allocations: 299.3 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.006092, allocations: 0.7328 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.006207, allocations: 45.27 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.00651, allocations: 391.2 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.006752, allocations: 291.2 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.006819, allocations: 64 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.006874, allocations: 60 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.006994, allocations: 207.4 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.007101, allocations: 175.5 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.007437, allocations: 462.4 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007441, allocations: 0 / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007442, allocations: 0 / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.007447, allocations: 0 / 382.7 MB, free: 14.2 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.001023/0.00847, allocations: 0.9167 MB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.008504, allocations: 12.02 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.008614, allocations: 116.6 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.008905, allocations: 307.1 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002836/0.009189, allocations: 0.6591 MB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.009252, allocations: 40.38 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.009958, allocations: 0.5407 MB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.009978, allocations: 4.125 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.01003, allocations: 28.12 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.01004, allocations: 12 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.01059, allocations: 385.2 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.01234, allocations: 2.111 MB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.01299, allocations: 379.4 kB / 388.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.01317, allocations: 152.4 kB / 388.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.344e-05/0.01323, allocations: 16.55 kB / 388.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.01326, allocations: 46.45 kB / 388.3 MB, free: 8.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.254e-06/0.01326, allocations: 0 / 388.3 MB, free: 8.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.01564/0.0289, allocations: 7.175 MB / 395.5 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.02894, allocations: 94.05 kB / 395.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.02922, allocations: 402.3 kB / 396 MB, free: 352 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/0.02932, allocations: 49.7 kB / 396.1 MB, free: 296 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.02943, allocations: 268.3 kB / 396.3 MB, free: 20 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.02971, allocations: 424.5 kB / 396.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/0.03004, allocations: 212.4 kB / 396.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.03021, allocations: 0.5546 MB / 397.5 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.0308, allocations: 0.51 MB / 398 MB, free: 14.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006732/0.03147, allocations: 0.7044 MB / 398.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.03256, allocations: 1.077 MB / 399.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.03256, allocations: 4 kB / 399.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001626/0.03419, allocations: 1.36 MB / 401.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.03421, allocations: 14.02 kB / 401.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.03422, allocations: 0 / 401.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.03423, allocations: 8 kB / 401.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.0354, allocations: 355.5 kB / 401.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.03542, allocations: 15.94 kB / 401.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.03617, allocations: 164 kB / 401.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.03626, allocations: 31.98 kB / 401.7 MB, free: 10.47 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.0002854/0.03654, allocations: 228.2 kB / 401.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.03675, allocations: 103.6 kB / 402 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.03685, allocations: 104.7 kB / 402.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.03686, allocations: 16 kB / 402.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.03687, allocations: 0 / 402.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.03688, allocations: 11.97 kB / 402.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/0.04103, allocations: 3.122 MB / 405.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.04104, allocations: 20 kB / 405.3 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.04166, allocations: 303.6 kB / 405.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/0.04168, allocations: 28 kB / 405.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.04173, allocations: 55.88 kB / 405.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.51e-05/0.04176, allocations: 43.8 kB / 405.7 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-05/0.04177, allocations: 31.88 kB / 405.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.04364, allocations: 1.989 MB / 407.8 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.04388, allocations: 159.5 kB / 407.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.349e-05/0.04396, allocations: 55.92 kB / 408 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.04448, allocations: 139.9 kB / 408.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.04473, allocations: 203.2 kB / 408.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.04478, allocations: 55.98 kB / 408.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.04491, allocations: 243 kB / 408.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04491, allocations: 0 / 408.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007101/0.04562, allocations: 232 kB / 408.8 MB, free: 2.52 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.0001671/0.04579, allocations: 178.6 kB / 409 MB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.04701, allocations: 0.998 MB / 410 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.04702, allocations: 4.625 kB / 410 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.04739, allocations: 348 kB / 410.3 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.04818, allocations: 221.3 kB / 410.6 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.05014, allocations: 1.993 MB / 412.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.05029, allocations: 188.9 kB / 412.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.05087, allocations: 162 kB / 412.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.05144, allocations: 206.2 kB / 413.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.05145, allocations: 0 / 413.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of Templates: time 0.01978/0.07122, allocations: 19.43 MB / 432.5 MB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.KinematicPTP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.25839796802029]