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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007684/0.0007684, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.001813, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007081/0.0007081, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002119, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8813/0.8813, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1589/1.04, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1281/0.1281, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02132/0.1494, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.553e-06/1.553e-06, allocations: 0 / 285.8 MB, free: 8.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.281e-05, allocations: 2.312 kB / 285.8 MB, free: 8.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.KinematicPTP): time 0.003211/0.003234, allocations: 2.367 MB / 288.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.007773, allocations: 0.9511 MB / 289.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.007958, allocations: 15.88 kB / 289.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.008233, allocations: 119.2 kB / 289.3 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.008459, allocations: 99.33 kB / 289.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.009055, allocations: 299.4 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003902/0.01296, allocations: 0.7173 MB / 290.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.0131, allocations: 49.11 kB / 290.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.01363, allocations: 451.8 kB / 290.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.01398, allocations: 295.1 kB / 291.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.761e-05/0.01407, allocations: 60 kB / 291.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.299e-05/0.01415, allocations: 64 kB / 291.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.0143, allocations: 147.6 kB / 291.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.01443, allocations: 123.7 kB / 291.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.01485, allocations: 394.7 kB / 291.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.01486, allocations: 0 / 291.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01486, allocations: 4 kB / 292 MB, free: 2.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.01487, allocations: 0 / 292 MB, free: 2.27 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.004367/0.01923, allocations: 0.8775 MB / 292.8 MB, free: 1.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.01927, allocations: 8.031 kB / 292.8 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.0194, allocations: 96.88 kB / 292.9 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.01975, allocations: 256.5 kB / 293.2 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.02003, allocations: 0.6552 MB / 293.8 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.02009, allocations: 48.33 kB / 293.9 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.02071, allocations: 0.5236 MB / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.02072, allocations: 192 / 294.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.02076, allocations: 20.12 kB / 294.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.02077, allocations: 12 kB / 294.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.0213, allocations: 347 kB / 294.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.02292, allocations: 1.431 MB / 296.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006486/0.02357, allocations: 451.6 kB / 296.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.02373, allocations: 130.8 kB / 296.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.02378, allocations: 12.56 kB / 296.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.0238, allocations: 43.69 kB / 296.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=66): time 3.637e-06/0.02381, allocations: 3.984 kB / 296.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.01692/0.04073, allocations: 7.759 MB / 304.6 MB, free: 5.211 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.04077, allocations: 94.11 kB / 304.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.041, allocations: 331.2 kB / 305 MB, free: 4.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.961e-05/0.0411, allocations: 45.7 kB / 305.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.04119, allocations: 198 kB / 305.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.04145, allocations: 420.3 kB / 305.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.04177, allocations: 202.8 kB / 305.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.04188, allocations: 378.6 kB / 306.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.04239, allocations: 425.3 kB / 306.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/0.04294, allocations: 0.5644 MB / 307.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.04395, allocations: 1.013 MB / 308.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04395, allocations: 3.938 kB / 308.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001304/0.04525, allocations: 1.096 MB / 309.3 MB, free: 332 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.04527, allocations: 7.984 kB / 309.3 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.04528, allocations: 4 kB / 309.3 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.0453, allocations: 8 kB / 309.3 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.04651, allocations: 387.7 kB / 309.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.04653, allocations: 15.98 kB / 309.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006989/0.04722, allocations: 163.7 kB / 309.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.0473, allocations: 35.94 kB / 309.9 MB, free: 15.71 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.000278/0.04758, allocations: 184.3 kB / 310.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.04775, allocations: 75.88 kB / 310.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.04788, allocations: 116.7 kB / 310.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.04789, allocations: 12 kB / 310.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.0479, allocations: 0 / 310.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.04791, allocations: 3.984 kB / 310.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.05137, allocations: 2.59 MB / 312.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.05139, allocations: 28.03 kB / 312.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.05202, allocations: 319.5 kB / 313.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.0522, allocations: 103.6 kB / 313.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-05/0.05222, allocations: 31.94 kB / 313.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.05227, allocations: 47.98 kB / 313.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.935e-05/0.05229, allocations: 39.86 kB / 313.5 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/0.0523, allocations: 35.81 kB / 313.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.05354, allocations: 1.618 MB / 315.1 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.05362, allocations: 51.98 kB / 315.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.05409, allocations: 143.8 kB / 315.3 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.05433, allocations: 203.2 kB / 315.5 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.05438, allocations: 48 kB / 315.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.422e-05/0.05447, allocations: 124.7 kB / 315.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05447, allocations: 0 / 315.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005783/0.05505, allocations: 236 kB / 315.9 MB, free: 9.121 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.0001571/0.05521, allocations: 154.9 kB / 316.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.05625, allocations: 0.9193 MB / 317 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.296e-05/0.05627, allocations: 16.36 kB / 317 MB, free: 8.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.05682, allocations: 425 kB / 317.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.0577, allocations: 0.6413 MB / 318 MB, free: 6.895 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.06012, allocations: 2.051 MB / 320.1 MB, free: 4.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.06027, allocations: 189 kB / 320.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.06082, allocations: 162 kB / 320.4 MB, free: 4.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.0614, allocations: 183.3 kB / 320.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.0614, allocations: 0 / 320.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of Templates: time 0.01943/0.08083, allocations: 19.57 MB / 340.2 MB, free: 0.5156 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9886842779815197]