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.001258/0.001258, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001236, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.3 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 77.44 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 62.46 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02904/0.167, allocations: 29.52 MB / 0.4969 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02032/0.1873, allocations: 6.703 MB / 0.5034 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006658/0.194, allocations: 119.7 kB / 0.5035 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2784/0.4725, allocations: 1.268 MB / 0.5048 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.4783, allocations: 1.604 MB / 0.5064 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.4796, allocations: 389.9 kB / 0.5067 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008999/0.4886, allocations: 5.01 MB / 0.5116 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005063/0.4937, allocations: 1.967 MB / 0.5135 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.497, allocations: 1.037 MB / 0.5146 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/0.5012, allocations: 1.828 MB / 0.5163 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002097/0.5034, allocations: 169.8 kB / 0.5165 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004697/0.5081, allocations: 0.786 MB / 0.5173 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003967/0.5121, allocations: 1.519 MB / 0.5188 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006109/0.5182, allocations: 1.813 MB / 0.5205 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01/0.5282, allocations: 5.721 MB / 0.5261 GB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5283, allocations: 0 / 0.5261 GB, free: 6.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5283, allocations: 0 / 0.5261 GB, free: 6.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003467/0.5286, allocations: 0 / 0.5261 GB, free: 6.812 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.01672/0.5454, allocations: 4.019 MB / 0.53 GB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.5455, allocations: 10.47 kB / 0.53 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.5565, allocations: 3.081 MB / 0.5331 GB, free: 2.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005044/0.5616, allocations: 1.883 MB / 0.5349 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.5618, allocations: 191.1 kB / 0.5351 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001225/0.5631, allocations: 246.5 kB / 0.5353 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/0.5849, allocations: 10.18 MB / 0.5452 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.5851, allocations: 33.16 kB / 0.5453 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001185/0.5863, allocations: 115.8 kB / 0.5454 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004781/0.5911, allocations: 2.465 MB / 0.5478 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/0.6139, allocations: 9.356 MB / 0.5569 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05995/0.6739, allocations: 31.67 MB / 0.5879 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006683/0.6806, allocations: 3.343 MB / 0.5911 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.6824, allocations: 1.072 MB / 0.5922 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/0.6837, allocations: 1.299 MB / 0.5934 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.857e-05/0.6838, allocations: 55.16 kB / 0.5935 GB, free: 7.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 5.891e-06/0.6838, allocations: 0 / 0.5935 GB, free: 7.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02201/0.7058, allocations: 9.103 MB / 0.6024 GB, free: 14.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.7059, allocations: 68.72 kB / 0.6024 GB, free: 13.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005611/0.7116, allocations: 2.599 MB / 0.605 GB, free: 11.37 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7117, allocations: 53.7 kB / 0.605 GB, free: 11.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002183/0.7139, allocations: 2.661 MB / 0.6076 GB, free: 8.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/0.7147, allocations: 0.6971 MB / 0.6083 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/0.7167, allocations: 0.9642 MB / 0.6093 GB, free: 6.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.7168, allocations: 305.1 kB / 0.6096 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.7195, allocations: 1.552 MB / 0.6111 GB, free: 5.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005241/0.7248, allocations: 4.392 MB / 0.6154 GB, free: 15.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009171/0.734, allocations: 6.561 MB / 0.6218 GB, free: 7.699 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/0.7341, allocations: 28 kB / 0.6218 GB, free: 7.672 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01264/0.7468, allocations: 5.853 MB / 0.6275 GB, free: 1.809 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.747, allocations: 51.94 kB / 0.6276 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/0.7472, allocations: 103.9 kB / 0.6277 GB, free: 1.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.7477, allocations: 173.6 kB / 0.6278 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/0.7513, allocations: 1.076 MB / 0.6289 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.7532, allocations: 1.675 MB / 0.6305 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/0.7566, allocations: 215.9 kB / 0.6307 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007781/0.7574, allocations: 298.8 kB / 0.631 GB, free: 14.1 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.006121/0.7636, allocations: 1.981 MB / 0.6329 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.7642, allocations: 244.8 kB / 0.6332 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/0.7688, allocations: 2.529 MB / 0.6356 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/0.7689, allocations: 20 kB / 0.6357 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.7689, allocations: 7.938 kB / 0.6357 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.7689, allocations: 7.969 kB / 0.6357 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.7861, allocations: 7.965 MB / 0.6434 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.7862, allocations: 8 kB / 0.6435 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.7876, allocations: 252.5 kB / 0.6437 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002041/0.7878, allocations: 60.83 kB / 0.6438 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.788, allocations: 43.27 kB / 0.6438 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.7895, allocations: 1.511 MB / 0.6453 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.419e-05/0.7895, allocations: 19.88 kB / 0.6453 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006208/0.7957, allocations: 4.015 MB / 0.6492 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/0.7967, allocations: 297.8 kB / 0.6495 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007193/0.7974, allocations: 38.33 kB / 0.6495 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7986, allocations: 55.95 kB / 0.6496 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.7989, allocations: 120.7 kB / 0.6497 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.799, allocations: 62.25 kB / 0.6498 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003685/0.8027, allocations: 1.599 MB / 0.6513 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8028, allocations: 4 kB / 0.6513 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006319/0.8091, allocations: 0.784 MB / 0.6521 GB, free: 7.996 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.0009108/0.81, allocations: 177.7 kB / 0.6523 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008403/0.8184, allocations: 3.841 MB / 0.656 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/0.8185, allocations: 0 / 0.656 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.8207, allocations: 1.233 MB / 0.6572 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.8239, allocations: 341.3 kB / 0.6575 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.8457, allocations: 10.52 MB / 0.6678 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006793/0.8525, allocations: 3.126 MB / 0.6709 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004962/0.8575, allocations: 1.711 MB / 0.6725 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007347/0.8583, allocations: 191.4 kB / 0.6727 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.8583, allocations: 0 / 0.6727 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of Templates: time 0.06837/0.9267, allocations: 22.22 MB / 0.6944 GB, free: 12.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches