Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.0009329/0.0009329, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001478/0.00241, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008697/0.0008697, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001267/0.002137, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.109/1.109, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.11/1.219, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.3345/0.3345, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04191/0.3764, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.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.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.67e-05, allocations: 2.969 kB / 292.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.009362/0.009389, allocations: 8.318 MB / 301.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.01643, allocations: 3.519 MB / 304.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008176/0.01725, allocations: 51.75 kB / 304.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.01869, allocations: 1.367 MB / 306.1 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.02035, allocations: 0.9408 MB / 307 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008092/0.02116, allocations: 0.5222 MB / 307.6 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.02297, allocations: 1.985 MB / 309.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.02433, allocations: 1.366 MB / 310.9 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.02597, allocations: 1.143 MB / 312.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.02705, allocations: 0.9275 MB / 313 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002443/0.02729, allocations: 140 kB / 313.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008521/0.02814, allocations: 0.585 MB / 313.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005165/0.02866, allocations: 0.6898 MB / 314.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004811/0.02914, allocations: 434.9 kB / 314.8 MB, free: 108 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.03089, allocations: 1.577 MB / 316.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.0309, allocations: 0 / 316.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0309, allocations: 0 / 316.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.03094, allocations: 0 / 316.4 MB, free: 14.52 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002973/0.03391, allocations: 2.134 MB / 318.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.03394, allocations: 8.031 kB / 318.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.03472, allocations: 341.8 kB / 318.9 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.03577, allocations: 0.8118 MB / 319.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.03584, allocations: 94.83 kB / 319.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.036, allocations: 120.3 kB / 319.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.03835, allocations: 1.626 MB / 321.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.03839, allocations: 15.89 kB / 321.5 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.03849, allocations: 51.97 kB / 321.6 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004246/0.03892, allocations: 390.1 kB / 322 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.04081, allocations: 0.7375 MB / 322.7 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007686/0.04849, allocations: 8.296 MB / 331 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.05073, allocations: 0.9231 MB / 331.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.05094, allocations: 144.2 kB / 332.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/0.05331, allocations: 1.554 MB / 333.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.05334, allocations: 43.05 kB / 333.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.024e-06/0.05335, allocations: 3.938 kB / 333.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.006294/0.05964, allocations: 2.366 MB / 336 MB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.05967, allocations: 59.91 kB / 336.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008978/0.06057, allocations: 1.01 MB / 337.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.0606, allocations: 33.7 kB / 337.1 MB, free: 9.074 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.06108, allocations: 0.8898 MB / 338 MB, free: 8.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.06123, allocations: 234.1 kB / 338.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.06153, allocations: 315.1 kB / 338.6 MB, free: 7.625 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.06165, allocations: 361.8 kB / 338.9 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.06198, allocations: 178.8 kB / 339.1 MB, free: 7.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.06307, allocations: 1.057 MB / 340.1 MB, free: 5.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.06438, allocations: 1.465 MB / 341.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.06439, allocations: 8 kB / 341.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001369/0.06576, allocations: 1.059 MB / 342.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.06579, allocations: 16.62 kB / 342.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.06582, allocations: 32 kB / 342.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.066, allocations: 75.69 kB / 342.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/0.06691, allocations: 419.3 kB / 343.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.06789, allocations: 1.572 MB / 344.8 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.06856, allocations: 71.97 kB / 344.8 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.06864, allocations: 76 kB / 344.9 MB, free: 272 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.06897, allocations: 258.5 kB / 345.2 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.0691, allocations: 76 kB / 345.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.06925, allocations: 114.8 kB / 345.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.06925, allocations: 8 kB / 345.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.06926, allocations: 4 kB / 345.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.06927, allocations: 7.922 kB / 345.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.07127, allocations: 1.446 MB / 346.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.465e-06/0.07127, allocations: 4 kB / 346.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.07157, allocations: 111.8 kB / 346.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.07169, allocations: 99.28 kB / 347 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.07181, allocations: 51.98 kB / 347.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.07184, allocations: 20 kB / 347.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.07291, allocations: 1.634 MB / 348.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.07291, allocations: 7.938 kB / 348.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.07353, allocations: 0.6332 MB / 349.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.07363, allocations: 12 kB / 349.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.07391, allocations: 23.92 kB / 349.4 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.07397, allocations: 51.81 kB / 349.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.074, allocations: 19.92 kB / 349.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003888/0.07439, allocations: 402.2 kB / 349.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07439, allocations: 0 / 349.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001145/0.07553, allocations: 356 kB / 350.2 MB, free: 10.69 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002612/0.07579, allocations: 116.3 kB / 350.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.07669, allocations: 0.7548 MB / 351.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.678e-05/0.07674, allocations: 36.03 kB / 351.1 MB, free: 9.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.0771, allocations: 329.4 kB / 351.5 MB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.07826, allocations: 1.324 MB / 352.8 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.08316, allocations: 2.549 MB / 355.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.08355, allocations: 412.1 kB / 355.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.08393, allocations: 149.7 kB / 355.9 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.08428, allocations: 233.3 kB / 356.1 MB, free: 4.434 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.08428, allocations: 0 / 356.1 MB, free: 4.434 MB / 346.7 MB Notification: Performance of Templates: time 0.01801/0.1023, allocations: 10.59 MB / 366.7 MB, free: 10.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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: 3.509105863980949]