Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 105.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.308/1.308, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1948/0.1948, allocations: 43.53 MB / 314.1 MB, free: 440 kB / 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.001526/0.001526, allocations: 65.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1116, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01324/0.1249, allocations: 12.66 MB / 0.4998 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007431/0.1323, allocations: 3.89 MB / 0.5036 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.1337, allocations: 63.88 kB / 0.5036 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.1361, allocations: 1.335 MB / 0.5049 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.1396, allocations: 1.778 MB / 0.5067 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.1405, allocations: 427.2 kB / 0.5071 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.1443, allocations: 3.657 MB / 0.5106 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.1466, allocations: 2.048 MB / 0.5126 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.1482, allocations: 1.238 MB / 0.5139 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.1502, allocations: 1.775 MB / 0.5156 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.1507, allocations: 244 kB / 0.5158 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/0.1521, allocations: 0.8153 MB / 0.5166 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.1535, allocations: 1.628 MB / 0.5182 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.1553, allocations: 1.949 MB / 0.5201 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00572/0.161, allocations: 6.27 MB / 0.5262 GB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.161, allocations: 0 / 0.5262 GB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.161, allocations: 0 / 0.5262 GB, free: 4.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001046/0.1611, allocations: 4 kB / 0.5262 GB, free: 4.309 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.006353/0.1675, allocations: 4.168 MB / 0.5303 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1675, allocations: 11.89 kB / 0.5303 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2308/0.3983, allocations: 0.7168 MB / 0.531 GB, free: 37.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.4093, allocations: 3.081 MB / 0.534 GB, free: 37.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006247/0.4156, allocations: 2.395 MB / 0.5364 GB, free: 36.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.4159, allocations: 193.7 kB / 0.5366 GB, free: 36.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.4171, allocations: 261.7 kB / 0.5368 GB, free: 36.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/0.438, allocations: 10.39 MB / 0.5469 GB, free: 33.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.4381, allocations: 26.22 kB / 0.547 GB, free: 33.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.4385, allocations: 121.5 kB / 0.5471 GB, free: 33.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004125/0.4426, allocations: 2.556 MB / 0.5496 GB, free: 32.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4603, allocations: 9.459 MB / 0.5588 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03895/0.4993, allocations: 32.25 MB / 0.5903 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005861/0.5052, allocations: 3.358 MB / 0.5936 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.5068, allocations: 1.092 MB / 0.5947 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.5081, allocations: 1.3 MB / 0.5959 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.5081, allocations: 55.86 kB / 0.596 GB, free: 3.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 6.011e-06/0.5081, allocations: 0 / 0.596 GB, free: 3.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02024/0.5284, allocations: 9.818 MB / 0.6056 GB, free: 9.176 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.5285, allocations: 94.42 kB / 0.6057 GB, free: 9.062 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/0.5321, allocations: 2.665 MB / 0.6083 GB, free: 6.379 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.5323, allocations: 49.7 kB / 0.6083 GB, free: 6.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.5343, allocations: 2.743 MB / 0.611 GB, free: 3.539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007253/0.535, allocations: 0.7093 MB / 0.6117 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.5362, allocations: 0.9844 MB / 0.6126 GB, free: 1.824 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.5363, allocations: 301.1 kB / 0.6129 GB, free: 1.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.5386, allocations: 1.556 MB / 0.6145 GB, free: 15.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/0.5427, allocations: 4.469 MB / 0.6188 GB, free: 10.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007178/0.5499, allocations: 6.683 MB / 0.6253 GB, free: 1.934 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.047e-05/0.55, allocations: 28 kB / 0.6254 GB, free: 1.906 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.008799/0.5588, allocations: 5.937 MB / 0.6312 GB, free: 11.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.5589, allocations: 52.22 kB / 0.6312 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.559, allocations: 104 kB / 0.6313 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.5593, allocations: 180.8 kB / 0.6315 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.5623, allocations: 1.096 MB / 0.6326 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.564, allocations: 1.803 MB / 0.6343 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/0.5666, allocations: 210.7 kB / 0.6345 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004085/0.5671, allocations: 300 kB / 0.6348 GB, free: 8.086 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (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 (605): * Single equations (assignments): 598 * 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.003075/0.5701, allocations: 2.04 MB / 0.6368 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.5706, allocations: 252.6 kB / 0.637 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.5743, allocations: 2.534 MB / 0.6395 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/0.5744, allocations: 27.94 kB / 0.6395 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5744, allocations: 0 / 0.6395 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.5744, allocations: 3.984 kB / 0.6395 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.5868, allocations: 8.146 MB / 0.6475 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.686e-05/0.5868, allocations: 12 kB / 0.6475 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.5878, allocations: 247.6 kB / 0.6478 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.588, allocations: 61.55 kB / 0.6478 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/0.5881, allocations: 56.22 kB / 0.6479 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.5894, allocations: 1.625 MB / 0.6495 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.5894, allocations: 15.94 kB / 0.6495 GB, free: 8.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/0.5944, allocations: 4.055 MB / 0.6534 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.5955, allocations: 0.4939 MB / 0.6539 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.5958, allocations: 35.98 kB / 0.6539 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.5966, allocations: 63.94 kB / 0.654 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5968, allocations: 120.7 kB / 0.6541 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5969, allocations: 67.98 kB / 0.6542 GB, free: 3.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.5992, allocations: 1.648 MB / 0.6558 GB, free: 2.031 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5993, allocations: 0 / 0.6558 GB, free: 2.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00341/0.6027, allocations: 0.8113 MB / 0.6566 GB, free: 1.223 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.005471/0.6082, allocations: 4.732 MB / 0.6612 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005925/0.6141, allocations: 3.92 MB / 0.665 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.6141, allocations: 0 / 0.665 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.6158, allocations: 1.245 MB / 0.6663 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.618, allocations: 346.7 kB / 0.6666 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/0.6675, allocations: 33.97 MB / 0.6998 GB, free: 460 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/0.6709, allocations: 3.195 MB / 0.7029 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00344/0.6743, allocations: 1.738 MB / 0.7046 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002/0.6764, allocations: 1.753 MB / 0.7063 GB, free: 9.723 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.6764, allocations: 0 / 0.7063 GB, free: 9.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3541/1.03, allocations: 46.97 MB / 0.7522 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/18.21, allocations: 11.11 kB / 0.7522 GB, free: 191.8 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches