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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 106.8 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 83.2 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1315, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02955/0.1611, allocations: 25.98 MB / 0.4937 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.1773, allocations: 6.23 MB / 0.4998 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004774/0.1821, allocations: 103.8 kB / 0.4999 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002996/0.1851, allocations: 1.324 MB / 0.5012 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.1878, allocations: 0.8445 MB / 0.502 GB, free: 2.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1891, allocations: 0.4914 MB / 0.5025 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.1916, allocations: 1.703 MB / 0.5042 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2512/0.4428, allocations: 1.727 MB / 0.5058 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.4441, allocations: 0.6763 MB / 0.5065 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.4454, allocations: 0.9557 MB / 0.5074 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.4457, allocations: 141.3 kB / 0.5076 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.4468, allocations: 0.5741 MB / 0.5081 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008163/0.4476, allocations: 0.7298 MB / 0.5089 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.4485, allocations: 0.8342 MB / 0.5097 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.4517, allocations: 2.446 MB / 0.5121 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4517, allocations: 0 / 0.5121 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4517, allocations: 0 / 0.5121 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.903e-05/0.4517, allocations: 0 / 0.5121 GB, free: 10.64 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.003921/0.4557, allocations: 2 MB / 0.514 GB, free: 9.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4557, allocations: 9.844 kB / 0.514 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003167/0.4561, allocations: 250.2 kB / 0.5143 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.4573, allocations: 275.5 kB / 0.5145 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.4596, allocations: 1.26 MB / 0.5157 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/0.4597, allocations: 91.5 kB / 0.5158 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/0.4599, allocations: 127.3 kB / 0.516 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/0.4659, allocations: 3.001 MB / 0.5189 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/0.4659, allocations: 20.89 kB / 0.5189 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.4661, allocations: 56.08 kB / 0.519 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006553/0.4667, allocations: 433.1 kB / 0.5194 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/0.4717, allocations: 2.178 MB / 0.5215 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.4852, allocations: 10.73 MB / 0.532 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.4892, allocations: 1.246 MB / 0.5332 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.4898, allocations: 409.2 kB / 0.5336 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004565/0.4944, allocations: 3.088 MB / 0.5366 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.4945, allocations: 41.66 kB / 0.5366 GB, free: 13.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 3.336e-06/0.4945, allocations: 0 / 0.5366 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01193/0.5064, allocations: 3.787 MB / 0.5403 GB, free: 11.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.5065, allocations: 86.27 kB / 0.5404 GB, free: 11.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.5085, allocations: 1.193 MB / 0.5416 GB, free: 11.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.5086, allocations: 36.98 kB / 0.5416 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007567/0.5094, allocations: 0.9325 MB / 0.5425 GB, free: 10.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.5096, allocations: 223.1 kB / 0.5427 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/0.51, allocations: 305.7 kB / 0.543 GB, free: 9.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5101, allocations: 305.1 kB / 0.5433 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.5108, allocations: 411.6 kB / 0.5437 GB, free: 9.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.5121, allocations: 1.256 MB / 0.5449 GB, free: 8.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.5142, allocations: 1.802 MB / 0.5467 GB, free: 6.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-05/0.5142, allocations: 6.562 kB / 0.5467 GB, free: 6.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003082/0.5173, allocations: 1.718 MB / 0.5484 GB, free: 5.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.5174, allocations: 22.81 kB / 0.5484 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/0.5174, allocations: 28 kB / 0.5484 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.5177, allocations: 87.16 kB / 0.5485 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5188, allocations: 360.2 kB / 0.5489 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.5207, allocations: 1.871 MB / 0.5507 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5218, allocations: 67.98 kB / 0.5508 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.5219, allocations: 88 kB / 0.5508 GB, free: 2.617 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 (190): * Single equations (assignments): 189 * 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.001084/0.523, allocations: 0.6468 MB / 0.5515 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5233, allocations: 114.6 kB / 0.5516 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.5236, allocations: 143.5 kB / 0.5517 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5236, allocations: 4 kB / 0.5517 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5236, allocations: 4 kB / 0.5517 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.5236, allocations: 3.984 kB / 0.5517 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.5278, allocations: 2.249 MB / 0.5539 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.5278, allocations: 4 kB / 0.5539 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.5282, allocations: 93.58 kB / 0.554 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.5284, allocations: 67.08 kB / 0.5541 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.5285, allocations: 16.31 kB / 0.5541 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.5305, allocations: 1.939 MB / 0.556 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5305, allocations: 7.094 kB / 0.556 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.5321, allocations: 1.108 MB / 0.5571 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.5325, allocations: 175.7 kB / 0.5572 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.5327, allocations: 22.97 kB / 0.5573 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.5331, allocations: 28.91 kB / 0.5573 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.5332, allocations: 46.98 kB / 0.5573 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.5333, allocations: 16.06 kB / 0.5574 GB, free: 11.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00137/0.5347, allocations: 0.7597 MB / 0.5581 GB, free: 10.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5347, allocations: 4 kB / 0.5581 GB, free: 10.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001563/0.5362, allocations: 292 kB / 0.5584 GB, free: 10.65 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.002346/0.5386, allocations: 1.692 MB / 0.56 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.5409, allocations: 1.206 MB / 0.5612 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.5409, allocations: 4 kB / 0.5612 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.5417, allocations: 411.1 kB / 0.5616 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5431, allocations: 186.7 kB / 0.5618 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/0.5675, allocations: 12.66 MB / 0.5741 GB, free: 9.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.5693, allocations: 1.443 MB / 0.5756 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.5706, allocations: 413.5 kB / 0.576 GB, free: 7.531 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008041/0.5714, allocations: 0.58 MB / 0.5765 GB, free: 6.953 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5714, allocations: 0 / 0.5765 GB, free: 6.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.6237, allocations: 22.38 MB / 0.5984 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.624, allocations: 219.8 kB / 0.5986 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.129, allocations: 64 / 0.5986 GB, free: 0.5977 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches