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.001168/0.001168, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001169/0.001169, allocations: 180.9 kB / 18.71 MB, free: 4.352 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2183/0.2183, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4171, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01373/0.4309, allocations: 12.3 MB / 0.5304 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.4405, allocations: 3.859 MB / 0.5342 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.4435, allocations: 65.12 kB / 0.5343 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.447, allocations: 1.306 MB / 0.5355 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005475/0.4525, allocations: 1.799 MB / 0.5373 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4541, allocations: 426 kB / 0.5377 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006203/0.4603, allocations: 3.572 MB / 0.5412 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003899/0.4643, allocations: 2.012 MB / 0.5432 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.4674, allocations: 1.204 MB / 0.5443 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003393/0.4708, allocations: 1.75 MB / 0.5461 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.4724, allocations: 240 kB / 0.5463 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/0.4758, allocations: 0.8269 MB / 0.5471 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002403/0.4783, allocations: 1.593 MB / 0.5486 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004022/0.4823, allocations: 1.894 MB / 0.5505 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009534/0.4919, allocations: 6.172 MB / 0.5565 GB, free: 4.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.492, allocations: 7.938 kB / 0.5565 GB, free: 4.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.492, allocations: 0 / 0.5565 GB, free: 4.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002524/0.4923, allocations: 0 / 0.5565 GB, free: 4.961 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01101/0.5033, allocations: 4.19 MB / 0.5606 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.5034, allocations: 16.03 kB / 0.5606 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002009/0.5054, allocations: 0.6924 MB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.5166, allocations: 3.11 MB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006137/0.5228, allocations: 2.245 MB / 0.5665 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.5231, allocations: 192.8 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.5247, allocations: 247.8 kB / 0.567 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.5462, allocations: 10.18 MB / 0.5769 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/0.5465, allocations: 31.77 kB / 0.5769 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/0.5478, allocations: 115.8 kB / 0.577 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004636/0.5524, allocations: 2.463 MB / 0.5795 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.5748, allocations: 9.353 MB / 0.5886 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05465/0.6295, allocations: 31.51 MB / 0.6194 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006509/0.6361, allocations: 3.355 MB / 0.6226 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.638, allocations: 1.082 MB / 0.6237 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.6394, allocations: 1.299 MB / 0.625 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/0.6395, allocations: 51.88 kB / 0.625 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.542e-06/0.6395, allocations: 0 / 0.625 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02437/0.6639, allocations: 9.169 MB / 0.634 GB, free: 3.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.664, allocations: 68.72 kB / 0.634 GB, free: 3.621 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005488/0.6695, allocations: 2.624 MB / 0.6366 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002991/0.6699, allocations: 45.7 kB / 0.6366 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.6721, allocations: 2.784 MB / 0.6394 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.6732, allocations: 0.7325 MB / 0.6401 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/0.6756, allocations: 0.973 MB / 0.641 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.6757, allocations: 301.1 kB / 0.6413 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.6786, allocations: 1.547 MB / 0.6428 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/0.684, allocations: 4.375 MB / 0.6471 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008601/0.6927, allocations: 6.548 MB / 0.6535 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/0.6929, allocations: 35.94 kB / 0.6535 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01195/0.7048, allocations: 5.84 MB / 0.6592 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.705, allocations: 48.19 kB / 0.6593 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/0.7052, allocations: 104 kB / 0.6594 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004552/0.7057, allocations: 176.9 kB / 0.6595 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003832/0.7095, allocations: 1.072 MB / 0.6606 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.7117, allocations: 1.789 MB / 0.6623 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/0.7153, allocations: 211.9 kB / 0.6625 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008682/0.7163, allocations: 288 kB / 0.6628 GB, free: 3.113 MB / 0.5137 GB 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.004076/0.7203, allocations: 1.993 MB / 0.6648 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/0.721, allocations: 262.2 kB / 0.665 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004746/0.7258, allocations: 2.53 MB / 0.6675 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.7258, allocations: 20 kB / 0.6675 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.7259, allocations: 8 kB / 0.6675 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.7259, allocations: 7.969 kB / 0.6675 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.7428, allocations: 7.934 MB / 0.6753 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/0.7428, allocations: 12 kB / 0.6753 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.744, allocations: 243.6 kB / 0.6755 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.7443, allocations: 64.77 kB / 0.6756 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/0.7446, allocations: 43.98 kB / 0.6756 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.7461, allocations: 1.63 MB / 0.6772 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.7461, allocations: 15.94 kB / 0.6772 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007176/0.7533, allocations: 4.032 MB / 0.6811 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/0.7542, allocations: 311.3 kB / 0.6814 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006873/0.7549, allocations: 39.98 kB / 0.6815 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.7563, allocations: 63.83 kB / 0.6815 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/0.7568, allocations: 124.6 kB / 0.6817 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/0.757, allocations: 59.98 kB / 0.6817 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003485/0.7605, allocations: 1.612 MB / 0.6833 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.12e-07/0.7606, allocations: 0 / 0.6833 GB, free: 13.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006497/0.7671, allocations: 0.7928 MB / 0.6841 GB, free: 12.79 MB / 0.545 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.0074/0.7745, allocations: 4.711 MB / 0.6887 GB, free: 7.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006911/0.7815, allocations: 3.864 MB / 0.6924 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/0.7816, allocations: 4 kB / 0.6924 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.7837, allocations: 1.241 MB / 0.6937 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.7867, allocations: 351.9 kB / 0.694 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3798/1.167, allocations: 33.36 MB / 0.7266 GB, free: 184.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005801/1.172, allocations: 3.133 MB / 0.7296 GB, free: 184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004015/1.176, allocations: 1.71 MB / 0.7313 GB, free: 184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/1.179, allocations: 1.702 MB / 0.733 GB, free: 183 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/1.179, allocations: 1.188 kB / 0.733 GB, free: 183 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/1.266, allocations: 45.74 MB / 0.7776 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/18.13, allocations: 7.359 kB / 0.7776 GB, free: 149.6 MB / 0.5762 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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