Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.88 kB / 416.8 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.149, allocations: 62.45 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02571/0.1748, allocations: 25.97 MB / 0.4934 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1892, allocations: 6.343 MB / 0.4996 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005593/0.1948, allocations: 107.8 kB / 0.4997 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.1979, allocations: 1.367 MB / 0.501 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002506/0.2004, allocations: 0.8332 MB / 0.5019 GB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.2016, allocations: 471.3 kB / 0.5023 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003083/0.2047, allocations: 2.338 MB / 0.5046 GB, free: 200 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3437/0.5484, allocations: 1.62 MB / 0.5062 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.55, allocations: 0.6078 MB / 0.5068 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.5514, allocations: 0.9357 MB / 0.5077 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.5516, allocations: 104.7 kB / 0.5078 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.5529, allocations: 0.5807 MB / 0.5084 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008831/0.5538, allocations: 0.6933 MB / 0.509 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008879/0.5547, allocations: 0.7959 MB / 0.5098 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003393/0.5581, allocations: 2.392 MB / 0.5121 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5581, allocations: 0 / 0.5121 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5581, allocations: 1.312 kB / 0.5121 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.722e-05/0.5582, allocations: 0 / 0.5121 GB, free: 10.38 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.004288/0.5625, allocations: 1.987 MB / 0.5141 GB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5625, allocations: 10.36 kB / 0.5141 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5637, allocations: 267 kB / 0.5143 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.5657, allocations: 1.039 MB / 0.5154 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-05/0.5658, allocations: 96.67 kB / 0.5155 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.566, allocations: 126.1 kB / 0.5156 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.5721, allocations: 3 MB / 0.5185 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/0.5722, allocations: 11.48 kB / 0.5185 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.5723, allocations: 59.06 kB / 0.5186 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007114/0.573, allocations: 438.1 kB / 0.519 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.5779, allocations: 2.171 MB / 0.5211 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.5908, allocations: 10.73 MB / 0.5316 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/0.5945, allocations: 1.242 MB / 0.5328 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.5951, allocations: 413.4 kB / 0.5332 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004277/0.5994, allocations: 3.087 MB / 0.5362 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.5995, allocations: 38.06 kB / 0.5362 GB, free: 14.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.905e-06/0.5995, allocations: 0 / 0.5362 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01153/0.611, allocations: 3.795 MB / 0.54 GB, free: 12.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.6111, allocations: 84.73 kB / 0.54 GB, free: 11.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.613, allocations: 1.183 MB / 0.5412 GB, free: 11.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.613, allocations: 36.17 kB / 0.5412 GB, free: 11.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009797/0.614, allocations: 0.9352 MB / 0.5421 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.6142, allocations: 221.4 kB / 0.5423 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.6146, allocations: 310.7 kB / 0.5426 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6147, allocations: 308 kB / 0.5429 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.6153, allocations: 424.2 kB / 0.5433 GB, free: 9.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.6166, allocations: 1.253 MB / 0.5446 GB, free: 8.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/0.6189, allocations: 1.815 MB / 0.5463 GB, free: 6.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.6189, allocations: 9.406 kB / 0.5463 GB, free: 6.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002476/0.6214, allocations: 1.735 MB / 0.548 GB, free: 5.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.6214, allocations: 24.06 kB / 0.5481 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.6214, allocations: 28 kB / 0.5481 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.6217, allocations: 92.75 kB / 0.5482 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6227, allocations: 359.7 kB / 0.5485 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.6242, allocations: 1.692 MB / 0.5502 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.6251, allocations: 71.98 kB / 0.5502 GB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.902e-05/0.6253, allocations: 87.98 kB / 0.5503 GB, free: 3.195 MB / 398.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.001081/0.6263, allocations: 0.6415 MB / 0.551 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6265, allocations: 114.6 kB / 0.5511 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.6267, allocations: 139.3 kB / 0.5512 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6267, allocations: 4 kB / 0.5512 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6267, allocations: 4 kB / 0.5512 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6268, allocations: 3.984 kB / 0.5512 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.6302, allocations: 2.247 MB / 0.5534 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6302, allocations: 4 kB / 0.5534 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003844/0.6306, allocations: 89.95 kB / 0.5535 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.6308, allocations: 67.06 kB / 0.5536 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.6308, allocations: 19.94 kB / 0.5536 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.6325, allocations: 1.753 MB / 0.5553 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.6325, allocations: 6.625 kB / 0.5553 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.634, allocations: 1.119 MB / 0.5564 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.6342, allocations: 179.7 kB / 0.5566 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.6343, allocations: 19.98 kB / 0.5566 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.6347, allocations: 23.98 kB / 0.5566 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.6347, allocations: 50.19 kB / 0.5566 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.6348, allocations: 16 kB / 0.5567 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009975/0.6358, allocations: 0.7632 MB / 0.5574 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6358, allocations: 0 / 0.5574 GB, free: 11.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001429/0.6372, allocations: 292 kB / 0.5577 GB, free: 11.43 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.0002349/0.6375, allocations: 131.2 kB / 0.5578 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.6393, allocations: 1.108 MB / 0.5589 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6393, allocations: 0.625 kB / 0.5589 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.6399, allocations: 415.6 kB / 0.5593 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.6408, allocations: 173.9 kB / 0.5595 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.6461, allocations: 3.487 MB / 0.5629 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.6474, allocations: 1.454 MB / 0.5643 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001122/0.6485, allocations: 409.6 kB / 0.5647 GB, free: 4.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6487, allocations: 79.42 kB / 0.5647 GB, free: 4.191 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6487, allocations: 0 / 0.5647 GB, free: 4.191 MB / 414.1 MB Notification: Performance of Templates: time 0.02013/0.6688, allocations: 9.935 MB / 0.5745 GB, free: 10.36 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches