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.001664/0.001664, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.00181/0.00181, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1862/0.1862, allocations: 43.52 MB / 314.1 MB, free: 460 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.001354/0.001354, allocations: 69.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09931/0.1007, 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.01318/0.1139, allocations: 12.66 MB / 0.4998 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007657/0.1216, allocations: 3.891 MB / 0.5036 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.1235, allocations: 63.88 kB / 0.5036 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.1264, allocations: 1.327 MB / 0.5049 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.1308, allocations: 1.825 MB / 0.5067 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.132, allocations: 431.2 kB / 0.5071 GB, free: 7.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004684/0.1367, allocations: 3.653 MB / 0.5107 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.1394, allocations: 2.052 MB / 0.5127 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.1416, allocations: 1.234 MB / 0.5139 GB, free: 1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.1446, allocations: 1.779 MB / 0.5156 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009043/0.1455, allocations: 240 kB / 0.5159 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.1478, allocations: 0.8192 MB / 0.5167 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002046/0.1499, allocations: 1.632 MB / 0.5183 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.1528, allocations: 1.945 MB / 0.5202 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.1603, allocations: 6.297 MB / 0.5263 GB, free: 4.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.1604, allocations: 8 kB / 0.5263 GB, free: 4.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1604, allocations: 0 / 0.5263 GB, free: 4.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002534/0.1606, allocations: 0 / 0.5263 GB, free: 4.234 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.2285/0.3892, allocations: 4.273 MB / 0.5305 GB, free: 37.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3893, allocations: 16.2 kB / 0.5305 GB, free: 37.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/0.3907, allocations: 0.7202 MB / 0.5312 GB, free: 37.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.4016, allocations: 3.112 MB / 0.5342 GB, free: 36.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005153/0.4068, allocations: 2.401 MB / 0.5366 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.407, allocations: 198.2 kB / 0.5368 GB, free: 36.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008321/0.4078, allocations: 253.7 kB / 0.537 GB, free: 36.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/0.4237, allocations: 10.39 MB / 0.5472 GB, free: 32.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-05/0.4238, allocations: 27.08 kB / 0.5472 GB, free: 32.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.4242, allocations: 125.8 kB / 0.5473 GB, free: 32.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004022/0.4282, allocations: 2.552 MB / 0.5498 GB, free: 31.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/0.4446, allocations: 9.462 MB / 0.559 GB, free: 25.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04375/0.4884, allocations: 32.33 MB / 0.5906 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/0.4944, allocations: 3.369 MB / 0.5939 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.4961, allocations: 1.083 MB / 0.595 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.4973, allocations: 1.306 MB / 0.5962 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.4973, allocations: 51.81 kB / 0.5963 GB, free: 2.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 5.16e-06/0.4973, allocations: 0 / 0.5963 GB, free: 2.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02337/0.5207, allocations: 9.94 MB / 0.606 GB, free: 8.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.5208, allocations: 90.42 kB / 0.6061 GB, free: 8.348 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004204/0.525, allocations: 2.674 MB / 0.6087 GB, free: 5.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.5252, allocations: 49.7 kB / 0.6087 GB, free: 5.602 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.527, allocations: 2.865 MB / 0.6115 GB, free: 2.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.5276, allocations: 0.748 MB / 0.6123 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001287/0.5289, allocations: 0.9851 MB / 0.6132 GB, free: 0.957 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.529, allocations: 301.1 kB / 0.6135 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.5313, allocations: 1.556 MB / 0.615 GB, free: 15.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/0.5351, allocations: 4.469 MB / 0.6194 GB, free: 9.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006742/0.5419, allocations: 6.683 MB / 0.6259 GB, free: 1.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.024e-05/0.542, allocations: 32 kB / 0.626 GB, free: 1.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.009876/0.5519, allocations: 5.946 MB / 0.6318 GB, free: 11.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.5521, allocations: 48 kB / 0.6318 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/0.5523, allocations: 100 kB / 0.6319 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/0.5528, allocations: 176.8 kB / 0.6321 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/0.5565, allocations: 1.096 MB / 0.6331 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.5582, allocations: 1.804 MB / 0.6349 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/0.5614, allocations: 208 kB / 0.6351 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/0.5621, allocations: 300.6 kB / 0.6354 GB, free: 7.215 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.003525/0.5657, allocations: 2.036 MB / 0.6374 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.5662, allocations: 266.2 kB / 0.6376 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.5699, allocations: 2.538 MB / 0.6401 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.5699, allocations: 23.94 kB / 0.6401 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.57, allocations: 4 kB / 0.6401 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.57, allocations: 14.3 kB / 0.6401 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.583, allocations: 8.151 MB / 0.6481 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.5831, allocations: 8 kB / 0.6481 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009933/0.5841, allocations: 255.6 kB / 0.6484 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.5843, allocations: 60.89 kB / 0.6484 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5844, allocations: 40 kB / 0.6485 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.5857, allocations: 1.633 MB / 0.65 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.5857, allocations: 15.94 kB / 0.6501 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.5907, allocations: 4.068 MB / 0.654 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.5921, allocations: 0.507 MB / 0.6545 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/0.5925, allocations: 39.98 kB / 0.6546 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.5933, allocations: 60.02 kB / 0.6546 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.5935, allocations: 120.6 kB / 0.6547 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.5937, allocations: 71.97 kB / 0.6548 GB, free: 2.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002295/0.596, allocations: 1.64 MB / 0.6564 GB, free: 1.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.596, allocations: 3.938 kB / 0.6564 GB, free: 1.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003548/0.5995, allocations: 0.8046 MB / 0.6572 GB, free: 320 kB / 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.005046/0.6046, allocations: 4.754 MB / 0.6618 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005536/0.6101, allocations: 3.915 MB / 0.6657 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.6102, allocations: 5.812 kB / 0.6657 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.6117, allocations: 1.239 MB / 0.6669 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.6135, allocations: 351.7 kB / 0.6672 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04373/0.6572, allocations: 34.14 MB / 0.7006 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003536/0.6608, allocations: 3.195 MB / 0.7037 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003265/0.6641, allocations: 1.738 MB / 0.7054 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/0.6663, allocations: 1.749 MB / 0.7071 GB, free: 8.602 MB / 0.545 GB Notification: Performance of SimCode: time 1.452e-06/0.6663, allocations: 4 kB / 0.7071 GB, free: 8.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.287/0.9533, allocations: 46.32 MB / 0.7523 GB, free: 191.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/17.87, allocations: 8.891 kB / 0.7523 GB, free: 191.7 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 & 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