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.001199/0.001199, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001983/0.001983, allocations: 169 kB / 24.24 MB, free: 312 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 1.04/1.04, allocations: 158.6 MB / 186 MB, free: 2.902 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.1492/0.1492, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.796e-06/2.796e-06, allocations: 0 / 347.6 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.558e-05/4.837e-05, allocations: 6.312 kB / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.004146/0.004194, allocations: 2.34 MB / 350 MB, free: 7.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.006066, allocations: 0.9717 MB / 351 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.006282, allocations: 11.88 kB / 351 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.006741, allocations: 115.2 kB / 351.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.006954, allocations: 107.2 kB / 351.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.007481, allocations: 295.4 kB / 351.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.007991, allocations: 0.7367 MB / 352.2 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.008149, allocations: 53.05 kB / 352.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.008459, allocations: 399.2 kB / 352.7 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.00875, allocations: 295.2 kB / 352.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.768e-05/0.008838, allocations: 60 kB / 353 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.008902, allocations: 64 kB / 353.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.009056, allocations: 203.3 kB / 353.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.009187, allocations: 175.5 kB / 353.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.009612, allocations: 462.5 kB / 353.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.009614, allocations: 0 / 353.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009615, allocations: 0 / 353.9 MB, free: 3.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.009625, allocations: 4 kB / 353.9 MB, free: 3.512 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.001205/0.01083, allocations: 0.9283 MB / 354.8 MB, free: 2.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.01088, allocations: 8.031 kB / 354.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.01102, allocations: 112.6 kB / 354.9 MB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.01139, allocations: 311.2 kB / 355.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.01166, allocations: 0.6552 MB / 355.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.01173, allocations: 48.31 kB / 355.9 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.01248, allocations: 0.5837 MB / 356.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.0125, allocations: 192 / 356.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.01254, allocations: 24.12 kB / 356.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.01256, allocations: 12 kB / 356.6 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007147/0.01327, allocations: 473.5 kB / 357 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.01531, allocations: 2.168 MB / 359.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.01621, allocations: 419.5 kB / 359.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.0165, allocations: 181.2 kB / 359.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/0.01656, allocations: 16 kB / 359.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.0166, allocations: 45.33 kB / 359.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 2.214e-06/0.0166, allocations: 0 / 359.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01761/0.03422, allocations: 7.726 MB / 367.6 MB, free: 5.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/0.03428, allocations: 90.11 kB / 367.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.0346, allocations: 410.5 kB / 368.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.0347, allocations: 41.7 kB / 368.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.03483, allocations: 272.3 kB / 368.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.0351, allocations: 424.3 kB / 368.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.03544, allocations: 204.5 kB / 369 MB, free: 3.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.03561, allocations: 0.5547 MB / 369.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/0.03655, allocations: 0.6507 MB / 370.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.03759, allocations: 0.845 MB / 371 MB, free: 1.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.03932, allocations: 1.292 MB / 372.3 MB, free: 424 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.03932, allocations: 4 kB / 372.3 MB, free: 420 kB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002446/0.04177, allocations: 1.61 MB / 373.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.04179, allocations: 8 kB / 373.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.0418, allocations: 4 kB / 373.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.04182, allocations: 8 kB / 374 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.04299, allocations: 359.7 kB / 374.3 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.04301, allocations: 11.98 kB / 374.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/0.04377, allocations: 163.8 kB / 374.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/0.04385, allocations: 43.98 kB / 374.5 MB, free: 14.21 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 (kinematicPTP2a.noWphase,kinematicPTP2b.noWphase,kinematicPTP2b.motion_ref,kinematicPTP2b.moving[1],kinematicPTP1a.noWphase,kinematicPTP1b.noWphase,kinematicPTP1b.motion_ref,kinematicPTP1b.moving[1],integrator3.local_reset,integrator2.local_reset,integrator1.local_reset,integrator.local_reset) * 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.0002979/0.04415, allocations: 220.3 kB / 374.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.04436, allocations: 107.6 kB / 374.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.04448, allocations: 108.7 kB / 374.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.04449, allocations: 12 kB / 375 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.0445, allocations: 0 / 375 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.04451, allocations: 7.969 kB / 375 MB, free: 13.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.04897, allocations: 3.245 MB / 378.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.04899, allocations: 20 kB / 378.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.04964, allocations: 303.4 kB / 378.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.04966, allocations: 28.44 kB / 378.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.04972, allocations: 52 kB / 378.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/0.04974, allocations: 39.86 kB / 378.6 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-05/0.04976, allocations: 31.88 kB / 378.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.05186, allocations: 2.102 MB / 380.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.05211, allocations: 167.4 kB / 380.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.05219, allocations: 55.98 kB / 381 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.05271, allocations: 135.9 kB / 381.1 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.053, allocations: 207.2 kB / 381.3 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.05305, allocations: 56 kB / 381.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.05324, allocations: 263.1 kB / 381.6 MB, free: 6.238 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05324, allocations: 0 / 381.6 MB, free: 6.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.05387, allocations: 235.9 kB / 381.9 MB, free: 6.008 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.0001836/0.05405, allocations: 170.9 kB / 382 MB, free: 5.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.05572, allocations: 1.162 MB / 383.2 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.05573, allocations: 4 kB / 383.2 MB, free: 4.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.05624, allocations: 374.5 kB / 383.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.05709, allocations: 218.2 kB / 383.8 MB, free: 4.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.05932, allocations: 1.985 MB / 385.8 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.05948, allocations: 189 kB / 386 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006054/0.06008, allocations: 189.9 kB / 386.1 MB, free: 1.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.06046, allocations: 76.48 kB / 386.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.06047, allocations: 0 / 386.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Templates: time 0.01867/0.07914, allocations: 18.26 MB / 404.5 MB, free: 14.93 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.8218873138539493]