Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_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.001718/0.001719, allocations: 117.7 kB / 17.09 MB, free: 5.984 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.001843/0.001843, allocations: 186.4 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2274/0.2274, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 69.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1308, allocations: 57.8 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01181/0.1426, allocations: 8.692 MB / 0.497 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00823/0.1509, allocations: 3.445 MB / 0.5004 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.1527, allocations: 47.88 kB / 0.5004 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.1558, allocations: 1.371 MB / 0.5018 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.1592, allocations: 0.9456 MB / 0.5027 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1606, allocations: 0.5147 MB / 0.5032 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00285/0.1635, allocations: 1.702 MB / 0.5049 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.166, allocations: 1.659 MB / 0.5065 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.1674, allocations: 0.6853 MB / 0.5072 GB, free: 8.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.1691, allocations: 0.8879 MB / 0.508 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000483/0.1696, allocations: 140 kB / 0.5082 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1711, allocations: 0.6046 MB / 0.5088 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.1721, allocations: 0.7365 MB / 0.5095 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.1737, allocations: 0.8353 MB / 0.5103 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.1777, allocations: 2.507 MB / 0.5127 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1778, allocations: 0 / 0.5127 GB, free: 2.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1778, allocations: 0 / 0.5127 GB, free: 2.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.993e-05/0.1779, allocations: 0 / 0.5127 GB, free: 2.895 MB / 398.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.005296/0.1832, allocations: 2.009 MB / 0.5147 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1832, allocations: 15.89 kB / 0.5147 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.1846, allocations: 262.5 kB / 0.515 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.1872, allocations: 1.145 MB / 0.5161 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.1873, allocations: 98.56 kB / 0.5162 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.1876, allocations: 120 kB / 0.5163 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006543/0.1942, allocations: 2.98 MB / 0.5192 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-05/0.1943, allocations: 15.86 kB / 0.5192 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.1945, allocations: 59.97 kB / 0.5193 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006798/0.1952, allocations: 434 kB / 0.5197 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005533/0.2008, allocations: 2.16 MB / 0.5218 GB, free: 9.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3412/0.542, allocations: 10.69 MB / 0.5322 GB, free: 33.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004327/0.5463, allocations: 1.225 MB / 0.5334 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.547, allocations: 416.7 kB / 0.5338 GB, free: 33.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003804/0.5509, allocations: 2.995 MB / 0.5368 GB, free: 32.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.5509, allocations: 37.94 kB / 0.5368 GB, free: 32.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 3.647e-06/0.5509, allocations: 1.094 kB / 0.5368 GB, free: 32.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01221/0.5631, allocations: 3.769 MB / 0.5405 GB, free: 31.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.5632, allocations: 84.75 kB / 0.5406 GB, free: 31.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.565, allocations: 1.203 MB / 0.5417 GB, free: 31.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.5651, allocations: 40.86 kB / 0.5418 GB, free: 30.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.5657, allocations: 0.941 MB / 0.5427 GB, free: 30.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.5658, allocations: 218.8 kB / 0.5429 GB, free: 30.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.5663, allocations: 311.2 kB / 0.5432 GB, free: 29.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.5663, allocations: 303.8 kB / 0.5435 GB, free: 29.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008563/0.5672, allocations: 417 kB / 0.5439 GB, free: 29.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.5685, allocations: 1.261 MB / 0.5451 GB, free: 28.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.5703, allocations: 1.799 MB / 0.5469 GB, free: 26.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/0.5704, allocations: 8.531 kB / 0.5469 GB, free: 26.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002907/0.5733, allocations: 1.735 MB / 0.5486 GB, free: 26.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.5734, allocations: 18.34 kB / 0.5486 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.5734, allocations: 29.25 kB / 0.5486 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.5737, allocations: 91.56 kB / 0.5487 GB, free: 26.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5748, allocations: 355.6 kB / 0.549 GB, free: 26.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.5763, allocations: 1.88 MB / 0.5509 GB, free: 24.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.5773, allocations: 75.58 kB / 0.5509 GB, free: 24.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.5774, allocations: 86.34 kB / 0.551 GB, free: 24.27 MB / 414.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 (194): * Single equations (assignments): 193 * 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.001021/0.5784, allocations: 0.6403 MB / 0.5517 GB, free: 23.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.5786, allocations: 117.8 kB / 0.5518 GB, free: 23.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.58, allocations: 0.7172 MB / 0.5525 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.58, allocations: 8.375 kB / 0.5525 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.58, allocations: 2.125 kB / 0.5525 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.58, allocations: 3.375 kB / 0.5525 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003662/0.5837, allocations: 2.234 MB / 0.5547 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5837, allocations: 3.469 kB / 0.5547 GB, free: 22.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.5841, allocations: 91 kB / 0.5548 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.5843, allocations: 73.5 kB / 0.5548 GB, free: 22.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5843, allocations: 18.44 kB / 0.5548 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.5858, allocations: 1.937 MB / 0.5567 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.5858, allocations: 8.062 kB / 0.5567 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.5874, allocations: 1.093 MB / 0.5578 GB, free: 20.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.5877, allocations: 223.1 kB / 0.558 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5878, allocations: 19.97 kB / 0.558 GB, free: 19.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.5882, allocations: 23.03 kB / 0.5581 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.5883, allocations: 49.61 kB / 0.5581 GB, free: 19.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.5883, allocations: 25.94 kB / 0.5581 GB, free: 19.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.5895, allocations: 0.7687 MB / 0.5589 GB, free: 19.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5895, allocations: 4.969 kB / 0.5589 GB, free: 19.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001591/0.5911, allocations: 302.1 kB / 0.5592 GB, free: 19.55 MB / 414.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 (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.000246/0.5913, allocations: 121.5 kB / 0.5593 GB, free: 19.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.593, allocations: 1.108 MB / 0.5604 GB, free: 19.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.593, allocations: 0 / 0.5604 GB, free: 19.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.5935, allocations: 413 kB / 0.5608 GB, free: 18.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009191/0.5944, allocations: 204.1 kB / 0.561 GB, free: 18.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.5984, allocations: 2.951 MB / 0.5638 GB, free: 17.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009248/0.5993, allocations: 1.45 MB / 0.5653 GB, free: 16.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.5995, allocations: 89 kB / 0.5653 GB, free: 16.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5995, allocations: 0 / 0.5653 GB, free: 16.33 MB / 414.1 MB Notification: Performance of Templates: time 0.02445/0.624, allocations: 22.6 MB / 0.5874 GB, free: 10.84 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches