Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_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.0008967/0.0008966, allocations: 91.06 kB / 17.35 MB, free: 6 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.0009587/0.0009587, allocations: 177.9 kB / 18.26 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1833/0.1833, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003147, allocations: 8.594 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02745/0.1318, allocations: 28.76 MB / 0.4894 GB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.1462, allocations: 6.703 MB / 0.4959 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004219/0.1504, allocations: 115.8 kB / 0.496 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.1518, allocations: 434 kB / 0.4964 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004248/0.156, allocations: 1.654 MB / 0.4981 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1571, allocations: 391.4 kB / 0.4984 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.1631, allocations: 4.989 MB / 0.5033 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2164/0.3796, allocations: 2.421 MB / 0.5057 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.3815, allocations: 0.958 MB / 0.5066 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002671/0.3842, allocations: 1.735 MB / 0.5083 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.3847, allocations: 133.6 kB / 0.5084 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.3864, allocations: 0.7757 MB / 0.5092 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.3881, allocations: 1.508 MB / 0.5107 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.3898, allocations: 1.794 MB / 0.5124 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007213/0.3971, allocations: 5.673 MB / 0.518 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3971, allocations: 1.875 kB / 0.518 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3971, allocations: 3.938 kB / 0.518 GB, free: 9.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001568/0.3973, allocations: 3.625 kB / 0.518 GB, free: 9.91 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.005543/0.4028, allocations: 3.331 MB / 0.5212 GB, free: 8.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4029, allocations: 11.48 kB / 0.5212 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000837/0.4037, allocations: 0.6981 MB / 0.5219 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.4139, allocations: 3.176 MB / 0.525 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.4183, allocations: 2.213 MB / 0.5272 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.4184, allocations: 187.3 kB / 0.5273 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005634/0.419, allocations: 259.2 kB / 0.5276 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.432, allocations: 10.18 MB / 0.5375 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-05/0.4322, allocations: 25.75 kB / 0.5376 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/0.4325, allocations: 116.7 kB / 0.5377 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/0.4358, allocations: 2.469 MB / 0.5401 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/0.4525, allocations: 9.367 MB / 0.5492 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.4974, allocations: 31.69 MB / 0.5802 GB, free: 9.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.5033, allocations: 3.347 MB / 0.5835 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.5048, allocations: 1.073 MB / 0.5845 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.5059, allocations: 1.307 MB / 0.5858 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.5059, allocations: 48.12 kB / 0.5858 GB, free: 3.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=185): time 4.669e-06/0.5059, allocations: 0 / 0.5858 GB, free: 3.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=191): time 0.01943/0.5254, allocations: 9.115 MB / 0.5947 GB, free: 9.902 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5254, allocations: 64.72 kB / 0.5948 GB, free: 9.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.5296, allocations: 2.611 MB / 0.5973 GB, free: 7.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.309e-05/0.5297, allocations: 52.2 kB / 0.5974 GB, free: 7.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.5313, allocations: 2.68 MB / 0.6 GB, free: 4.453 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/0.5319, allocations: 0.6999 MB / 0.6007 GB, free: 3.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005824/0.5325, allocations: 432.7 kB / 0.6011 GB, free: 3.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.5326, allocations: 305.1 kB / 0.6014 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.5348, allocations: 1.544 MB / 0.6029 GB, free: 1.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003843/0.5387, allocations: 4.374 MB / 0.6072 GB, free: 11.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/0.5453, allocations: 6.555 MB / 0.6136 GB, free: 4.203 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.041e-05/0.5454, allocations: 28 kB / 0.6136 GB, free: 4.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008348/0.5538, allocations: 5.833 MB / 0.6193 GB, free: 14.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/0.5539, allocations: 51.94 kB / 0.6193 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.554, allocations: 100 kB / 0.6194 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003085/0.5543, allocations: 175.5 kB / 0.6196 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.5572, allocations: 1.058 MB / 0.6206 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.5586, allocations: 1.684 MB / 0.6223 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.5609, allocations: 208 kB / 0.6225 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/0.5613, allocations: 294.3 kB / 0.6228 GB, free: 11.39 MB / 478.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 (592): * Single equations (assignments): 585 * 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.002944/0.5643, allocations: 1.995 MB / 0.6247 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.5646, allocations: 248.7 kB / 0.6249 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.5682, allocations: 2.53 MB / 0.6274 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.5683, allocations: 27.14 kB / 0.6274 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.5683, allocations: 0 / 0.6274 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.5683, allocations: 11.97 kB / 0.6275 GB, free: 6.547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.5809, allocations: 7.962 MB / 0.6352 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.581, allocations: 8 kB / 0.6352 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009273/0.5819, allocations: 247.6 kB / 0.6355 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.5821, allocations: 57.52 kB / 0.6355 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.5822, allocations: 44 kB / 0.6356 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.5833, allocations: 1.514 MB / 0.6371 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.505e-05/0.5834, allocations: 27.88 kB / 0.6371 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/0.5881, allocations: 4.015 MB / 0.641 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.5887, allocations: 301.8 kB / 0.6413 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/0.5891, allocations: 40 kB / 0.6413 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008854/0.59, allocations: 59.02 kB / 0.6414 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.5902, allocations: 120.6 kB / 0.6415 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5904, allocations: 67.98 kB / 0.6416 GB, free: 7.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002621/0.593, allocations: 1.604 MB / 0.6431 GB, free: 6.031 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.593, allocations: 0 / 0.6431 GB, free: 6.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003855/0.5969, allocations: 0.7994 MB / 0.6439 GB, free: 5.234 MB / 494.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.005497/0.6024, allocations: 4.69 MB / 0.6485 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005488/0.6079, allocations: 3.829 MB / 0.6522 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.6079, allocations: 4 kB / 0.6522 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.6094, allocations: 1.237 MB / 0.6534 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/0.6143, allocations: 337.6 kB / 0.6538 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0556/0.6699, allocations: 37.73 MB / 0.6906 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005332/0.6752, allocations: 3.139 MB / 0.6937 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003972/0.6792, allocations: 1.71 MB / 0.6953 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/0.6816, allocations: 1.698 MB / 0.697 GB, free: 9.246 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.6816, allocations: 0 / 0.697 GB, free: 9.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/0.9439, allocations: 47.24 MB / 0.7431 GB, free: 186.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.9441, allocations: 218.8 kB / 0.7433 GB, free: 186.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.7, allocations: 0 / 0.7433 GB, free: 186.1 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches