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.001249/0.001249, allocations: 110.2 kB / 16.27 MB, free: 6.41 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.00125/0.00125, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.443/1.443, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2219/0.2219, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001492/0.001492, allocations: 71.14 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09732, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01114/0.1085, allocations: 12.66 MB / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008076/0.1166, allocations: 3.898 MB / 457.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.1186, allocations: 63.88 kB / 457.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.1214, allocations: 1.331 MB / 458.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004258/0.1257, allocations: 1.775 MB / 460.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1268, allocations: 423.2 kB / 460.8 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004516/0.1313, allocations: 3.66 MB / 464.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.1346, allocations: 2.033 MB / 466.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.1368, allocations: 1.238 MB / 467.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.1395, allocations: 1.767 MB / 469.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007501/0.1402, allocations: 244 kB / 469.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.1422, allocations: 0.8269 MB / 470.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.1443, allocations: 1.624 MB / 472.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003226/0.1476, allocations: 1.949 MB / 474.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007746/0.1553, allocations: 5.977 MB / 480.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.1554, allocations: 0 / 480.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.1554, allocations: 3.938 kB / 480.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004421/0.1558, allocations: 0 / 480.1 MB, free: 15.17 MB / 366.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.01093/0.1668, allocations: 4.16 MB / 484.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1669, allocations: 11.89 kB / 484.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001135/0.168, allocations: 0.7246 MB / 485 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.1787, allocations: 3.087 MB / 488.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.1832, allocations: 2.377 MB / 490.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.1833, allocations: 196.9 kB / 490.6 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005037/0.1838, allocations: 251.8 kB / 490.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01403/0.1979, allocations: 10.4 MB / 0.4895 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.276e-05/0.198, allocations: 19.81 kB / 0.4895 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.1984, allocations: 123.8 kB / 0.4897 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003961/0.2023, allocations: 2.557 MB / 0.4922 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.2203, allocations: 9.461 MB / 0.5014 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2215/0.4419, allocations: 32.47 MB / 0.5331 GB, free: 67.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.4472, allocations: 3.369 MB / 0.5364 GB, free: 66.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.4487, allocations: 1.078 MB / 0.5374 GB, free: 66.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009254/0.4496, allocations: 1.307 MB / 0.5387 GB, free: 65.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4497, allocations: 45.66 kB / 0.5388 GB, free: 65.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 4.499e-06/0.4497, allocations: 3.828 kB / 0.5388 GB, free: 65.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.02014/0.4698, allocations: 9.817 MB / 0.5484 GB, free: 63.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.4699, allocations: 95.27 kB / 0.5484 GB, free: 63.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.4726, allocations: 2.676 MB / 0.5511 GB, free: 62.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.4728, allocations: 45.2 kB / 0.5511 GB, free: 62.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.4739, allocations: 2.744 MB / 0.5538 GB, free: 60.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.4744, allocations: 0.7222 MB / 0.5545 GB, free: 59.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008948/0.4753, allocations: 0.9707 MB / 0.5554 GB, free: 59.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.4754, allocations: 308.9 kB / 0.5557 GB, free: 59.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.4771, allocations: 1.552 MB / 0.5572 GB, free: 58.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.4802, allocations: 4.47 MB / 0.5616 GB, free: 54.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005818/0.486, allocations: 6.686 MB / 0.5681 GB, free: 48.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.592e-05/0.4861, allocations: 27.38 kB / 0.5682 GB, free: 48.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.008058/0.4942, allocations: 5.933 MB / 0.574 GB, free: 44.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.4943, allocations: 48 kB / 0.574 GB, free: 44.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-05/0.4944, allocations: 100.1 kB / 0.5741 GB, free: 44.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.4946, allocations: 180.8 kB / 0.5743 GB, free: 43.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.4973, allocations: 1.095 MB / 0.5753 GB, free: 42.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.4984, allocations: 1.803 MB / 0.5771 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.5008, allocations: 216.4 kB / 0.5773 GB, free: 40.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/0.5011, allocations: 303.1 kB / 0.5776 GB, free: 40.3 MB / 414.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.002158/0.5032, allocations: 2.035 MB / 0.5796 GB, free: 38.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.5036, allocations: 252.7 kB / 0.5798 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5065, allocations: 2.538 MB / 0.5823 GB, free: 35.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.5065, allocations: 27.59 kB / 0.5823 GB, free: 35.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5065, allocations: 0 / 0.5823 GB, free: 35.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5065, allocations: 7.969 kB / 0.5823 GB, free: 35.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00967/0.5162, allocations: 8.165 MB / 0.5903 GB, free: 27.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.5162, allocations: 15.94 kB / 0.5903 GB, free: 27.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/0.5171, allocations: 251.5 kB / 0.5906 GB, free: 26.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.5173, allocations: 58.3 kB / 0.5906 GB, free: 26.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.846e-05/0.5174, allocations: 47.92 kB / 0.5907 GB, free: 26.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009873/0.5183, allocations: 1.639 MB / 0.5923 GB, free: 24.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.5184, allocations: 15.94 kB / 0.5923 GB, free: 24.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/0.5223, allocations: 4.047 MB / 0.5962 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008394/0.5231, allocations: 0.5094 MB / 0.5967 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.5234, allocations: 32 kB / 0.5968 GB, free: 20.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.5242, allocations: 63.61 kB / 0.5968 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.5244, allocations: 124.7 kB / 0.5969 GB, free: 19.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.5245, allocations: 64 kB / 0.597 GB, free: 19.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001787/0.5262, allocations: 1.64 MB / 0.5986 GB, free: 18.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5263, allocations: 0 / 0.5986 GB, free: 18.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003418/0.5297, allocations: 0.8104 MB / 0.5994 GB, free: 17.46 MB / 414.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.004135/0.5338, allocations: 4.736 MB / 0.604 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007008/0.5409, allocations: 5.528 MB / 0.6094 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.5409, allocations: 0 / 0.6094 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.5422, allocations: 1.252 MB / 0.6106 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.544, allocations: 348.7 kB / 0.611 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05207/0.5961, allocations: 36.65 MB / 0.6468 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004227/0.6004, allocations: 3.196 MB / 0.6499 GB, free: 7.977 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003986/0.6044, allocations: 1.742 MB / 0.6516 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/0.6065, allocations: 1.757 MB / 0.6533 GB, free: 4.477 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.6065, allocations: 0 / 0.6533 GB, free: 4.477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08703/0.6936, allocations: 49.13 MB / 0.7013 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.44, allocations: 7.281 kB / 0.7013 GB, free: 3.305 MB / 0.4981 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/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