Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 95.08 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 181.5 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.23 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003525, allocations: 14.03 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02232/0.1785, allocations: 22.31 MB / 493.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.1951, allocations: 6.179 MB / 499.9 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005109/0.2002, allocations: 103.8 kB / 0.4883 GB, free: 1.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003851/0.2041, allocations: 1.069 MB / 0.4894 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.2156, allocations: 3.362 MB / 0.4927 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.2176, allocations: 443.3 kB / 0.4931 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.2199, allocations: 0.9634 MB / 0.494 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002678/0.2226, allocations: 1.957 MB / 0.4959 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007804/0.2234, allocations: 446.5 kB / 0.4964 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.2241, allocations: 0.5802 MB / 0.4969 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.2242, allocations: 52 kB / 0.497 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008576/0.2251, allocations: 431.4 kB / 0.4974 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.2256, allocations: 0.5766 MB / 0.4979 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.2259, allocations: 316.8 kB / 0.4982 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.2278, allocations: 1.906 MB / 0.5001 GB, free: 4.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2279, allocations: 0 / 0.5001 GB, free: 4.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.187e-06/0.2279, allocations: 0 / 0.5001 GB, free: 4.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.369e-05/0.2279, allocations: 0 / 0.5001 GB, free: 4.922 MB / 382.1 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.003443/0.2314, allocations: 1.729 MB / 0.5018 GB, free: 3.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.2314, allocations: 12.5 kB / 0.5018 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.2326, allocations: 277.5 kB / 0.5021 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.2347, allocations: 1.137 MB / 0.5032 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/0.2348, allocations: 94.41 kB / 0.5033 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.235, allocations: 128 kB / 0.5034 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3132/0.5483, allocations: 3.035 MB / 0.5064 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/0.5484, allocations: 14.78 kB / 0.5064 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.5485, allocations: 57.89 kB / 0.5064 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008614/0.5494, allocations: 436.7 kB / 0.5068 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006876/0.5563, allocations: 2.22 MB / 0.509 GB, free: 17.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.5751, allocations: 10.8 MB / 0.5196 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/0.5804, allocations: 1.235 MB / 0.5208 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00534/0.5858, allocations: 3.034 MB / 0.5237 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5859, allocations: 37.84 kB / 0.5238 GB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 3.567e-06/0.5859, allocations: 0 / 0.5238 GB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01203/0.598, allocations: 3.756 MB / 0.5274 GB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.598, allocations: 85.73 kB / 0.5275 GB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.5998, allocations: 1.3 MB / 0.5288 GB, free: 9.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.5998, allocations: 35.64 kB / 0.5288 GB, free: 9.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.6004, allocations: 0.9421 MB / 0.5297 GB, free: 9.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.6005, allocations: 215.7 kB / 0.5299 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.6006, allocations: 31.94 kB / 0.53 GB, free: 9.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6007, allocations: 373.4 kB / 0.5303 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.6013, allocations: 401 kB / 0.5307 GB, free: 8.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009708/0.6022, allocations: 1.235 MB / 0.5319 GB, free: 7.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009878/0.6032, allocations: 0.6672 MB / 0.5326 GB, free: 7.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.6033, allocations: 11.03 kB / 0.5326 GB, free: 7.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003135/0.6064, allocations: 1.692 MB / 0.5342 GB, free: 7.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.6065, allocations: 17.38 kB / 0.5342 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/0.6065, allocations: 29.03 kB / 0.5343 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002959/0.6068, allocations: 94.17 kB / 0.5344 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.608, allocations: 360.8 kB / 0.5347 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.6098, allocations: 1.703 MB / 0.5364 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6111, allocations: 70.48 kB / 0.5364 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6112, allocations: 82.12 kB / 0.5365 GB, free: 6.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001144/0.6123, allocations: 0.6435 MB / 0.5371 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.6125, allocations: 131.8 kB / 0.5373 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.6137, allocations: 0.6983 MB / 0.538 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6137, allocations: 9.641 kB / 0.538 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6137, allocations: 0 / 0.538 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6138, allocations: 3.953 kB / 0.538 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.6174, allocations: 2.243 MB / 0.5402 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.6174, allocations: 6.062 kB / 0.5402 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.6178, allocations: 97.08 kB / 0.5403 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.618, allocations: 64.38 kB / 0.5403 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.618, allocations: 18.98 kB / 0.5403 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.6193, allocations: 1.759 MB / 0.5421 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.6193, allocations: 15.47 kB / 0.5421 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.6208, allocations: 1.299 MB / 0.5433 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.6211, allocations: 191.6 kB / 0.5435 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6212, allocations: 14.5 kB / 0.5435 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.6215, allocations: 31.52 kB / 0.5436 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.6216, allocations: 51.17 kB / 0.5436 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.6217, allocations: 18.06 kB / 0.5436 GB, free: 2.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009731/0.6226, allocations: 0.8426 MB / 0.5445 GB, free: 2.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6227, allocations: 0 / 0.5445 GB, free: 2.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001605/0.6243, allocations: 324.8 kB / 0.5448 GB, free: 2.273 MB / 382.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.6246, allocations: 143.4 kB / 0.5449 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.6263, allocations: 1.071 MB / 0.5459 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6263, allocations: 2.719 kB / 0.5459 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.6268, allocations: 408.8 kB / 0.5463 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.6276, allocations: 173.7 kB / 0.5465 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.6325, allocations: 3.37 MB / 0.5498 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.6339, allocations: 1.484 MB / 0.5512 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001121/0.635, allocations: 409.9 kB / 0.5516 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.6352, allocations: 81.5 kB / 0.5517 GB, free: 12.58 MB / 398.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6352, allocations: 0 / 0.5517 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Templates: time 0.02194/0.6572, allocations: 10.31 MB / 0.5618 GB, free: 2.402 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches