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.0012/0.001201, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001496, allocations: 185.5 kB / 16.92 MB, free: 6.914 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.876/1.876, allocations: 205.4 MB / 223.1 MB, free: 5.781 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.4494/0.4494, allocations: 43.58 MB / 315 MB, free: 8.73 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.0006576/0.0006577, allocations: 12 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1627, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.3387/0.5014, allocations: 25.34 MB / 468.8 MB, free: 34.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.5175, allocations: 6.312 MB / 475.1 MB, free: 32.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006782/0.5243, allocations: 111.1 kB / 475.2 MB, free: 32.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009098/0.5253, allocations: 168.2 kB / 475.4 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.5284, allocations: 0.8708 MB / 476.2 MB, free: 31.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.5297, allocations: 476.8 kB / 476.7 MB, free: 31.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.5326, allocations: 2.326 MB / 479 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.5357, allocations: 2.284 MB / 481.3 MB, free: 30.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.537, allocations: 0.5077 MB / 481.8 MB, free: 30.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.5384, allocations: 0.7947 MB / 482.6 MB, free: 29.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003542/0.5388, allocations: 54.97 kB / 482.7 MB, free: 29.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.5402, allocations: 0.5562 MB / 483.2 MB, free: 29.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007739/0.541, allocations: 0.633 MB / 483.9 MB, free: 29.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.5421, allocations: 0.7385 MB / 484.6 MB, free: 29.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.5448, allocations: 2.344 MB / 486.9 MB, free: 28.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5449, allocations: 0 / 486.9 MB, free: 28.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5449, allocations: 2.906 kB / 486.9 MB, free: 28.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001367/0.545, allocations: 0 / 486.9 MB, free: 28.36 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.004327/0.5494, allocations: 1.711 MB / 488.6 MB, free: 27.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5494, allocations: 11.5 kB / 488.7 MB, free: 27.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.5508, allocations: 266.1 kB / 488.9 MB, free: 27.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.5527, allocations: 1.119 MB / 490 MB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.5528, allocations: 96.02 kB / 490.1 MB, free: 26.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.553, allocations: 129.1 kB / 490.3 MB, free: 26.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005797/0.5588, allocations: 2.986 MB / 493.2 MB, free: 25.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.062e-05/0.5589, allocations: 13.5 kB / 493.3 MB, free: 25.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.5591, allocations: 59.58 kB / 493.3 MB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007595/0.5598, allocations: 432.3 kB / 493.7 MB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.5663, allocations: 2.173 MB / 495.9 MB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.5816, allocations: 10.75 MB / 0.4948 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004505/0.5861, allocations: 1.232 MB / 0.496 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.5869, allocations: 412.6 kB / 0.4964 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/0.5907, allocations: 3.005 MB / 0.4993 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5907, allocations: 42.84 kB / 0.4994 GB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.805e-06/0.5908, allocations: 0 / 0.4994 GB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.0117/0.6025, allocations: 3.774 MB / 0.503 GB, free: 12.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.6025, allocations: 83.77 kB / 0.5031 GB, free: 12.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.6043, allocations: 1.207 MB / 0.5043 GB, free: 12.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.6044, allocations: 36.17 kB / 0.5043 GB, free: 12.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.605, allocations: 0.9402 MB / 0.5053 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.6051, allocations: 217.2 kB / 0.5055 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.6053, allocations: 144.8 kB / 0.5056 GB, free: 11.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.6053, allocations: 302.1 kB / 0.5059 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.6059, allocations: 420.4 kB / 0.5063 GB, free: 10.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.607, allocations: 1.255 MB / 0.5075 GB, free: 9.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.6087, allocations: 1.806 MB / 0.5093 GB, free: 7.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.6087, allocations: 9 kB / 0.5093 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002573/0.6113, allocations: 1.728 MB / 0.511 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.6114, allocations: 18.03 kB / 0.511 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.643e-05/0.6114, allocations: 29.06 kB / 0.511 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.6116, allocations: 91.36 kB / 0.5111 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6127, allocations: 362.9 kB / 0.5115 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.614, allocations: 1.704 MB / 0.5131 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6151, allocations: 67.39 kB / 0.5132 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6152, allocations: 85.06 kB / 0.5133 GB, free: 5.004 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.001216/0.6165, allocations: 0.6413 MB / 0.5139 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.6166, allocations: 120.2 kB / 0.514 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.6179, allocations: 0.7043 MB / 0.5147 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6179, allocations: 9.312 kB / 0.5147 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6179, allocations: 5.594 kB / 0.5147 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.6179, allocations: 3.984 kB / 0.5147 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.6215, allocations: 2.247 MB / 0.5169 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6215, allocations: 0 / 0.5169 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.6219, allocations: 95.89 kB / 0.517 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.6221, allocations: 60.81 kB / 0.5171 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.6221, allocations: 16 kB / 0.5171 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.6233, allocations: 1.75 MB / 0.5188 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6233, allocations: 4 kB / 0.5188 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.6248, allocations: 1.099 MB / 0.5199 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.6251, allocations: 219.6 kB / 0.5201 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6253, allocations: 23.92 kB / 0.5201 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.6256, allocations: 24.05 kB / 0.5201 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.6257, allocations: 51.89 kB / 0.5202 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.6257, allocations: 20 kB / 0.5202 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.6268, allocations: 0.7715 MB / 0.5209 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6268, allocations: 0 / 0.5209 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001602/0.6284, allocations: 304 kB / 0.5212 GB, free: 13.93 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.0002474/0.6287, allocations: 139 kB / 0.5214 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.6305, allocations: 1.096 MB / 0.5224 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6305, allocations: 0.625 kB / 0.5224 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.631, allocations: 406.7 kB / 0.5228 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.6326, allocations: 179 kB / 0.523 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.6378, allocations: 3.575 MB / 0.5265 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.6391, allocations: 1.447 MB / 0.5279 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001213/0.6404, allocations: 417.7 kB / 0.5283 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.6405, allocations: 83.38 kB / 0.5284 GB, free: 6.477 MB / 398.1 MB Notification: Performance of SimCode: time 1.714e-06/0.6406, allocations: 0 / 0.5284 GB, free: 6.477 MB / 398.1 MB Notification: Performance of Templates: time 0.02183/0.6624, allocations: 9.991 MB / 0.5381 GB, free: 12.54 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