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.001621/0.001621, allocations: 101.5 kB / 16.4 MB, free: 6.508 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.001407/0.001408, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.528/1.528, allocations: 205.1 MB / 223.2 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.2316/0.2316, allocations: 43.52 MB / 314.1 MB, free: 444 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.001837/0.001837, allocations: 73.45 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1562, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01113/0.1674, allocations: 8.695 MB / 0.4964 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008292/0.1757, allocations: 3.441 MB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002031/0.1778, allocations: 51.81 kB / 0.4998 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.1811, allocations: 1.367 MB / 0.5011 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003659/0.1848, allocations: 0.9651 MB / 0.5021 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1863, allocations: 0.5146 MB / 0.5026 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003105/0.1895, allocations: 1.698 MB / 0.5042 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.1921, allocations: 1.663 MB / 0.5059 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.1937, allocations: 0.6853 MB / 0.5065 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.1956, allocations: 0.8879 MB / 0.5074 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005414/0.1962, allocations: 140 kB / 0.5075 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.198, allocations: 0.6046 MB / 0.5081 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001258/0.1993, allocations: 0.7326 MB / 0.5088 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002196/0.2015, allocations: 0.8315 MB / 0.5096 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.2047, allocations: 2.507 MB / 0.5121 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2047, allocations: 0 / 0.5121 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2048, allocations: 0 / 0.5121 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.2048, allocations: 0 / 0.5121 GB, free: 2.855 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.003594/0.2084, allocations: 2.006 MB / 0.5141 GB, free: 0.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2084, allocations: 15.89 kB / 0.5141 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.2095, allocations: 266.5 kB / 0.5143 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.2115, allocations: 1.145 MB / 0.5154 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.081e-05/0.2116, allocations: 102.5 kB / 0.5155 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.2119, allocations: 116 kB / 0.5156 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005289/0.2172, allocations: 2.984 MB / 0.5186 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.2172, allocations: 15.92 kB / 0.5186 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.2174, allocations: 55.97 kB / 0.5186 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006272/0.218, allocations: 434 kB / 0.519 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/0.2226, allocations: 2.167 MB / 0.5212 GB, free: 9.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3686/0.5912, allocations: 10.7 MB / 0.5316 GB, free: 33.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005913/0.5971, allocations: 1.227 MB / 0.5328 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/0.5981, allocations: 414.1 kB / 0.5332 GB, free: 33.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005906/0.604, allocations: 2.997 MB / 0.5361 GB, free: 32.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.6041, allocations: 45.61 kB / 0.5362 GB, free: 32.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 5.03e-06/0.6041, allocations: 0 / 0.5362 GB, free: 32.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01763/0.6218, allocations: 3.764 MB / 0.5398 GB, free: 31.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.6219, allocations: 83.92 kB / 0.5399 GB, free: 31.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.626, allocations: 1.2 MB / 0.5411 GB, free: 31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.6261, allocations: 37.77 kB / 0.5411 GB, free: 30.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009568/0.6271, allocations: 0.9445 MB / 0.5421 GB, free: 30.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6274, allocations: 216.9 kB / 0.5423 GB, free: 30.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007128/0.6281, allocations: 316.2 kB / 0.5426 GB, free: 29.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.6282, allocations: 301.7 kB / 0.5429 GB, free: 29.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.6293, allocations: 414.6 kB / 0.5432 GB, free: 29.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.631, allocations: 1.257 MB / 0.5445 GB, free: 28.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.6336, allocations: 1.804 MB / 0.5462 GB, free: 26.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.623e-05/0.6336, allocations: 8.375 kB / 0.5462 GB, free: 26.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004978/0.6386, allocations: 1.732 MB / 0.5479 GB, free: 26.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.6387, allocations: 17.94 kB / 0.548 GB, free: 26.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.6388, allocations: 30.06 kB / 0.548 GB, free: 26.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.6393, allocations: 86.58 kB / 0.5481 GB, free: 26.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.6412, allocations: 359.5 kB / 0.5484 GB, free: 26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.6434, allocations: 1.877 MB / 0.5502 GB, free: 24.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.6455, allocations: 73.7 kB / 0.5503 GB, free: 24.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.6458, allocations: 85.66 kB / 0.5504 GB, free: 24.26 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.001996/0.6479, allocations: 0.6498 MB / 0.551 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.6484, allocations: 112.4 kB / 0.5511 GB, free: 23.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.6506, allocations: 0.7104 MB / 0.5518 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.6506, allocations: 5.531 kB / 0.5518 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.6507, allocations: 6.688 kB / 0.5518 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.6507, allocations: 8.266 kB / 0.5518 GB, free: 23.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007383/0.6581, allocations: 2.242 MB / 0.554 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.6581, allocations: 4.547 kB / 0.554 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.6587, allocations: 97.69 kB / 0.5541 GB, free: 22.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.6591, allocations: 63.86 kB / 0.5542 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-05/0.6592, allocations: 15.84 kB / 0.5542 GB, free: 22.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.6615, allocations: 1.944 MB / 0.5561 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/0.6615, allocations: 4.188 kB / 0.5561 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.6642, allocations: 1.101 MB / 0.5572 GB, free: 20.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007589/0.665, allocations: 215.2 kB / 0.5574 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.6652, allocations: 12.25 kB / 0.5574 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.6658, allocations: 22.8 kB / 0.5574 GB, free: 19.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.666, allocations: 53.92 kB / 0.5575 GB, free: 19.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.666, allocations: 20.64 kB / 0.5575 GB, free: 19.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001899/0.668, allocations: 0.7708 MB / 0.5582 GB, free: 19.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.668, allocations: 1.406 kB / 0.5582 GB, free: 19.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002758/0.6707, allocations: 301.6 kB / 0.5585 GB, free: 19.54 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.0005006/0.6712, allocations: 130.2 kB / 0.5587 GB, free: 19.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.6746, allocations: 1.099 MB / 0.5597 GB, free: 19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.6746, allocations: 4.125 kB / 0.5597 GB, free: 19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006284/0.6753, allocations: 415.7 kB / 0.5601 GB, free: 18.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.6767, allocations: 198.6 kB / 0.5603 GB, free: 18.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/0.6835, allocations: 2.824 MB / 0.5631 GB, free: 17.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.685, allocations: 1.453 MB / 0.5645 GB, free: 16.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001386/0.6864, allocations: 409.3 kB / 0.5649 GB, free: 16.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.6866, allocations: 73.19 kB / 0.565 GB, free: 16.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.033e-06/0.6866, allocations: 4 kB / 0.565 GB, free: 16.25 MB / 414.1 MB Notification: Performance of Templates: time 0.01895/0.7056, allocations: 10.86 MB / 0.5756 GB, free: 6.34 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","/var/lib/jenkins/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