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.008073/0.008073, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001546/0.001546, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.778/1.778, allocations: 205.1 MB / 222.6 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5023/0.5023, allocations: 43.49 MB / 313.5 MB, free: 8.547 MB / 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.002022/0.002022, allocations: 67.91 kB / 382 MB, free: 8.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1769, allocations: 57.78 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3398/0.5168, allocations: 26.15 MB / 466 MB, free: 35.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01707/0.5339, allocations: 6.376 MB / 472.4 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009012/0.543, allocations: 113.1 kB / 472.5 MB, free: 32.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.5462, allocations: 1.368 MB / 473.8 MB, free: 31.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00335/0.5496, allocations: 0.8593 MB / 474.7 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.5508, allocations: 484.6 kB / 475.2 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.5536, allocations: 2.315 MB / 477.5 MB, free: 30.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.5553, allocations: 1.636 MB / 479.1 MB, free: 30.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008697/0.5562, allocations: 0.6171 MB / 479.7 MB, free: 29.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009798/0.5572, allocations: 0.9477 MB / 480.7 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.5574, allocations: 104.1 kB / 480.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.5585, allocations: 0.6063 MB / 481.4 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006118/0.5591, allocations: 0.6988 MB / 482.1 MB, free: 29.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.5598, allocations: 0.7954 MB / 482.9 MB, free: 28.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.5619, allocations: 2.427 MB / 485.3 MB, free: 27.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5619, allocations: 0 / 485.3 MB, free: 27.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5619, allocations: 0 / 485.3 MB, free: 27.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.64e-05/0.5619, allocations: 0 / 485.3 MB, free: 27.75 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.003422/0.5654, allocations: 2.014 MB / 487.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5654, allocations: 9.062 kB / 487.3 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.5665, allocations: 264.9 kB / 487.6 MB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.5682, allocations: 1.119 MB / 488.7 MB, free: 25.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.469e-05/0.5683, allocations: 93.52 kB / 488.8 MB, free: 25.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5685, allocations: 129.4 kB / 488.9 MB, free: 25.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005612/0.5741, allocations: 2.983 MB / 491.9 MB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/0.5742, allocations: 18.91 kB / 491.9 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.5744, allocations: 55.53 kB / 492 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008182/0.5752, allocations: 434.4 kB / 492.4 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005588/0.5808, allocations: 2.161 MB / 494.6 MB, free: 23.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.5965, allocations: 10.74 MB / 0.4935 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.6008, allocations: 1.237 MB / 0.4947 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006328/0.6015, allocations: 408.7 kB / 0.4951 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004603/0.6061, allocations: 2.997 MB / 0.498 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6062, allocations: 43.98 kB / 0.498 GB, free: 13.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.114e-06/0.6062, allocations: 5.156 kB / 0.498 GB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01368/0.6199, allocations: 3.766 MB / 0.5017 GB, free: 12.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.62, allocations: 84.19 kB / 0.5018 GB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002581/0.6226, allocations: 1.203 MB / 0.503 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.6227, allocations: 39.92 kB / 0.503 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008791/0.6235, allocations: 0.9393 MB / 0.5039 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.6238, allocations: 226.3 kB / 0.5041 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.6245, allocations: 310.4 kB / 0.5044 GB, free: 10.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.6246, allocations: 302.2 kB / 0.5047 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009324/0.6255, allocations: 418.9 kB / 0.5051 GB, free: 10.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.627, allocations: 1.254 MB / 0.5063 GB, free: 8.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.6293, allocations: 1.809 MB / 0.5081 GB, free: 7.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-05/0.6294, allocations: 9.625 kB / 0.5081 GB, free: 7.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00359/0.633, allocations: 1.734 MB / 0.5098 GB, free: 6.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.633, allocations: 17.38 kB / 0.5098 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-05/0.6331, allocations: 30.94 kB / 0.5099 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003131/0.6334, allocations: 86.95 kB / 0.5099 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6346, allocations: 366.9 kB / 0.5103 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.636, allocations: 1.689 MB / 0.5119 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.6373, allocations: 68.94 kB / 0.512 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.6374, allocations: 86.22 kB / 0.5121 GB, free: 4.488 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 (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.001128/0.6386, allocations: 0.6395 MB / 0.5127 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.6389, allocations: 118.6 kB / 0.5128 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.6401, allocations: 0.7048 MB / 0.5135 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6401, allocations: 8.812 kB / 0.5135 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6401, allocations: 2.812 kB / 0.5135 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6402, allocations: 7.922 kB / 0.5135 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.6442, allocations: 2.236 MB / 0.5157 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.6442, allocations: 4 kB / 0.5157 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.6446, allocations: 95.83 kB / 0.5158 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.6448, allocations: 69.31 kB / 0.5159 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.6448, allocations: 17.5 kB / 0.5159 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.6462, allocations: 1.751 MB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6462, allocations: 8 kB / 0.5176 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.6478, allocations: 1.095 MB / 0.5187 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.6483, allocations: 223.6 kB / 0.5189 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.6485, allocations: 19.94 kB / 0.5189 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.649, allocations: 19.98 kB / 0.5189 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.6491, allocations: 55.88 kB / 0.519 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.6491, allocations: 20 kB / 0.519 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.6502, allocations: 0.7677 MB / 0.5198 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6503, allocations: 0 / 0.5198 GB, free: 13.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001693/0.652, allocations: 300 kB / 0.52 GB, free: 13.03 MB / 398.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.000281/0.6522, allocations: 131.1 kB / 0.5202 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00203/0.6543, allocations: 1.101 MB / 0.5212 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6543, allocations: 4.125 kB / 0.5212 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005932/0.6549, allocations: 406.5 kB / 0.5216 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6561, allocations: 174.9 kB / 0.5218 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.6633, allocations: 3.511 MB / 0.5252 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/0.6654, allocations: 1.455 MB / 0.5266 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001268/0.6667, allocations: 414.9 kB / 0.527 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.6669, allocations: 79.42 kB / 0.5271 GB, free: 5.648 MB / 398.1 MB Notification: Performance of SimCode: time 2.034e-06/0.667, allocations: 0 / 0.5271 GB, free: 5.648 MB / 398.1 MB Notification: Performance of Templates: time 0.02552/0.6925, allocations: 10.06 MB / 0.5369 GB, free: 11.65 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches