Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.11 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 80.12 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1372, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01318/0.1504, allocations: 12.25 MB / 493 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008259/0.1587, allocations: 3.855 MB / 496.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.1608, allocations: 63.88 kB / 496.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.1639, allocations: 1.319 MB / 498.2 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005211/0.1692, allocations: 1.72 MB / 499.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1705, allocations: 423.2 kB / 0.4886 GB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004888/0.1754, allocations: 3.595 MB / 0.4921 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.1784, allocations: 2.002 MB / 0.4941 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.1806, allocations: 1.195 MB / 0.4952 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.1832, allocations: 1.74 MB / 0.4969 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008994/0.1841, allocations: 236 kB / 0.4972 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.1866, allocations: 0.8035 MB / 0.4979 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002068/0.1887, allocations: 1.574 MB / 0.4995 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00315/0.1919, allocations: 1.867 MB / 0.5013 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2224/0.4142, allocations: 5.77 MB / 0.5069 GB, free: 18.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4143, allocations: 0 / 0.5069 GB, free: 18.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4143, allocations: 1.812 kB / 0.5069 GB, free: 18.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002037/0.4145, allocations: 0 / 0.5069 GB, free: 18.92 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.008644/0.4232, allocations: 4.021 MB / 0.5109 GB, free: 17.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4232, allocations: 11.16 kB / 0.5109 GB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.4352, allocations: 3.075 MB / 0.5139 GB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005105/0.4404, allocations: 1.882 MB / 0.5157 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.4407, allocations: 188.2 kB / 0.5159 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/0.4421, allocations: 247.4 kB / 0.5161 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.4603, allocations: 10.18 MB / 0.5261 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.473e-05/0.4605, allocations: 23.78 kB / 0.5261 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005012/0.461, allocations: 116.2 kB / 0.5262 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003794/0.4648, allocations: 2.468 MB / 0.5286 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.4806, allocations: 9.358 MB / 0.5378 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04489/0.5255, allocations: 31.66 MB / 0.5687 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/0.5318, allocations: 3.351 MB / 0.5719 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.5336, allocations: 1.072 MB / 0.573 GB, free: 4.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.5348, allocations: 1.308 MB / 0.5743 GB, free: 2.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.5349, allocations: 49.3 kB / 0.5743 GB, free: 2.918 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 5.3e-06/0.5349, allocations: 0 / 0.5743 GB, free: 2.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.02111/0.556, allocations: 9.105 MB / 0.5832 GB, free: 9.746 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.5561, allocations: 64.72 kB / 0.5833 GB, free: 9.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.5601, allocations: 2.6 MB / 0.5858 GB, free: 7.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.5603, allocations: 47.97 kB / 0.5859 GB, free: 6.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001828/0.5621, allocations: 2.667 MB / 0.5885 GB, free: 4.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007743/0.5629, allocations: 0.7019 MB / 0.5891 GB, free: 3.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.5644, allocations: 0.9635 MB / 0.5901 GB, free: 2.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.5646, allocations: 305.1 kB / 0.5904 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.5669, allocations: 1.552 MB / 0.5919 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004228/0.5712, allocations: 4.387 MB / 0.5962 GB, free: 11.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.5786, allocations: 6.569 MB / 0.6026 GB, free: 3.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.5787, allocations: 32.69 kB / 0.6026 GB, free: 3.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01037/0.5891, allocations: 5.852 MB / 0.6083 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.5893, allocations: 56 kB / 0.6084 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/0.5896, allocations: 101.9 kB / 0.6085 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.5902, allocations: 172.8 kB / 0.6087 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/0.5938, allocations: 1.068 MB / 0.6097 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.5954, allocations: 1.794 MB / 0.6114 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.5982, allocations: 211.9 kB / 0.6116 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006455/0.5989, allocations: 294.3 kB / 0.6119 GB, free: 10.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.003517/0.6024, allocations: 1.988 MB / 0.6139 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/0.603, allocations: 248.8 kB / 0.6141 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/0.6072, allocations: 2.534 MB / 0.6166 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.6073, allocations: 23.44 kB / 0.6166 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.6073, allocations: 1.312 kB / 0.6166 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.6074, allocations: 7.969 kB / 0.6166 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.6232, allocations: 7.959 MB / 0.6244 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-05/0.6233, allocations: 12 kB / 0.6244 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6244, allocations: 251.6 kB / 0.6246 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.6246, allocations: 57.39 kB / 0.6247 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.6248, allocations: 42.19 kB / 0.6247 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.6262, allocations: 1.633 MB / 0.6263 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.6262, allocations: 15.94 kB / 0.6263 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005768/0.632, allocations: 4.014 MB / 0.6303 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008848/0.6329, allocations: 299.6 kB / 0.6305 GB, free: 6.637 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/0.6335, allocations: 41.02 kB / 0.6306 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.6346, allocations: 55.95 kB / 0.6306 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.6349, allocations: 116.9 kB / 0.6308 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.635, allocations: 70.09 kB / 0.6308 GB, free: 6.363 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003195/0.6382, allocations: 1.603 MB / 0.6324 GB, free: 4.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6383, allocations: 4 kB / 0.6324 GB, free: 4.746 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00458/0.6428, allocations: 0.7804 MB / 0.6331 GB, free: 3.969 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0005662/0.6434, allocations: 171.9 kB / 0.6333 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009038/0.6525, allocations: 5.504 MB / 0.6387 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.6525, allocations: 4 kB / 0.6387 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.6544, allocations: 1.236 MB / 0.6399 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.6569, allocations: 339.7 kB / 0.6402 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.6748, allocations: 8.939 MB / 0.649 GB, free: 3.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/0.6801, allocations: 3.133 MB / 0.652 GB, free: 488 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/0.681, allocations: 227.4 kB / 0.6522 GB, free: 260 kB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.681, allocations: 0 / 0.6522 GB, free: 260 kB / 494.1 MB Notification: Performance of Templates: time 0.3427/1.024, allocations: 64.77 MB / 0.7155 GB, free: 198.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches