Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.8 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2333/0.2333, allocations: 46.19 MB / 345.3 MB, free: 11.37 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003203/0.0003203, allocations: 11.98 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 63.56 MB / 483.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03212/0.1689, allocations: 28.59 MB / 0.4998 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02073/0.1897, allocations: 6.637 MB / 0.5062 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005819/0.1956, allocations: 119.7 kB / 0.5064 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.1968, allocations: 434.1 kB / 0.5068 GB, free: 204 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2812/0.478, allocations: 1.622 MB / 0.5084 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.4791, allocations: 381.7 kB / 0.5087 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007481/0.4866, allocations: 5.013 MB / 0.5136 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004577/0.4912, allocations: 2.419 MB / 0.516 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.4936, allocations: 0.9487 MB / 0.5169 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.4967, allocations: 1.725 MB / 0.5186 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005908/0.4973, allocations: 133 kB / 0.5187 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.4992, allocations: 0.7474 MB / 0.5194 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.5008, allocations: 1.478 MB / 0.5209 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.5027, allocations: 1.778 MB / 0.5226 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006481/0.5092, allocations: 5.591 MB / 0.5281 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.5093, allocations: 0 / 0.5281 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5093, allocations: 1.594 kB / 0.5281 GB, free: 6.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.5095, allocations: 4 kB / 0.5281 GB, free: 6.516 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.007967/0.5175, allocations: 3.287 MB / 0.5313 GB, free: 4.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5175, allocations: 10.47 kB / 0.5313 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.5288, allocations: 3.161 MB / 0.5344 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.5334, allocations: 1.887 MB / 0.5362 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5335, allocations: 189.3 kB / 0.5364 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006075/0.5341, allocations: 246.1 kB / 0.5367 GB, free: 1.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/0.5524, allocations: 10.19 MB / 0.5466 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-05/0.5525, allocations: 29.5 kB / 0.5466 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004138/0.5529, allocations: 118.8 kB / 0.5467 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004491/0.5574, allocations: 2.462 MB / 0.5491 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/0.5781, allocations: 9.36 MB / 0.5583 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05073/0.6288, allocations: 31.7 MB / 0.5892 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006136/0.635, allocations: 3.351 MB / 0.5925 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.6367, allocations: 1.07 MB / 0.5936 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.638, allocations: 1.309 MB / 0.5948 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.638, allocations: 43.88 kB / 0.5949 GB, free: 7.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 4.679e-06/0.638, allocations: 0 / 0.5949 GB, free: 7.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02205/0.6601, allocations: 9.108 MB / 0.6038 GB, free: 14.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.6602, allocations: 68.72 kB / 0.6038 GB, free: 14.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.6642, allocations: 2.599 MB / 0.6064 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.6643, allocations: 51.89 kB / 0.6064 GB, free: 11.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002002/0.6663, allocations: 2.66 MB / 0.609 GB, free: 9.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/0.667, allocations: 0.7049 MB / 0.6097 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/0.6676, allocations: 439.6 kB / 0.6101 GB, free: 8.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6677, allocations: 309.1 kB / 0.6104 GB, free: 7.797 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002428/0.6701, allocations: 1.548 MB / 0.6119 GB, free: 6.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/0.675, allocations: 4.386 MB / 0.6162 GB, free: 0.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008118/0.6831, allocations: 6.57 MB / 0.6226 GB, free: 8.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-05/0.6832, allocations: 28 kB / 0.6227 GB, free: 8.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009245/0.6924, allocations: 5.851 MB / 0.6284 GB, free: 2.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.6925, allocations: 51.94 kB / 0.6284 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.901e-05/0.6926, allocations: 96 kB / 0.6285 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/0.693, allocations: 176.8 kB / 0.6287 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.696, allocations: 1.064 MB / 0.6297 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.6977, allocations: 1.695 MB / 0.6314 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.7001, allocations: 207.9 kB / 0.6316 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.7005, allocations: 296 kB / 0.6319 GB, free: 15.15 MB / 494.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.003884/0.7044, allocations: 2.003 MB / 0.6338 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.7048, allocations: 244.8 kB / 0.6341 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.7089, allocations: 2.526 MB / 0.6365 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/0.7089, allocations: 23.44 kB / 0.6365 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.709, allocations: 3.938 kB / 0.6365 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.709, allocations: 7.969 kB / 0.6366 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.7221, allocations: 7.964 MB / 0.6443 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/0.7222, allocations: 8 kB / 0.6443 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.7232, allocations: 259.5 kB / 0.6446 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001737/0.7234, allocations: 56.83 kB / 0.6446 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7235, allocations: 36 kB / 0.6447 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.7251, allocations: 1.503 MB / 0.6461 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.7251, allocations: 15.94 kB / 0.6462 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005685/0.7308, allocations: 4.014 MB / 0.6501 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006714/0.7315, allocations: 309.7 kB / 0.6504 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.7317, allocations: 36.19 kB / 0.6504 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/0.7325, allocations: 64.02 kB / 0.6505 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.7327, allocations: 116.6 kB / 0.6506 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.7328, allocations: 70.41 kB / 0.6506 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002752/0.7356, allocations: 1.599 MB / 0.6522 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7356, allocations: 0 / 0.6522 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003811/0.7394, allocations: 0.7759 MB / 0.653 GB, free: 9.035 MB / 0.4981 GB 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.0004438/0.7399, allocations: 178.5 kB / 0.6531 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006495/0.7464, allocations: 3.842 MB / 0.6569 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.7464, allocations: 4 kB / 0.6569 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.7482, allocations: 1.235 MB / 0.6581 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004635/0.7528, allocations: 339 kB / 0.6584 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/0.7696, allocations: 10.58 MB / 0.6688 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00385/0.7735, allocations: 3.134 MB / 0.6718 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004375/0.7779, allocations: 1.714 MB / 0.6735 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00047/0.7784, allocations: 183.4 kB / 0.6737 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.7784, allocations: 4 kB / 0.6737 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.05144/0.8298, allocations: 22.05 MB / 0.6952 GB, free: 13.76 MB / 0.545 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches