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.001324/0.001324, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001178/0.001178, allocations: 188.9 kB / 17.2 MB, free: 5.574 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.335/1.335, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2/0.2, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.002029/0.002029, allocations: 77.38 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1041, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.012/0.1161, allocations: 12.66 MB / 453.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007931/0.1241, allocations: 3.898 MB / 457.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1261, allocations: 63.88 kB / 457.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.1291, allocations: 1.327 MB / 458.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.1336, allocations: 1.767 MB / 460.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.1346, allocations: 431.2 kB / 460.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004212/0.1388, allocations: 3.657 MB / 464.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.1415, allocations: 2.036 MB / 466.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.1433, allocations: 1.23 MB / 467.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.1456, allocations: 1.771 MB / 469.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007329/0.1464, allocations: 244 kB / 469.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.1483, allocations: 0.8269 MB / 470.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.1503, allocations: 1.624 MB / 472.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003087/0.1534, allocations: 1.949 MB / 474.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006618/0.1601, allocations: 5.977 MB / 480.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1601, allocations: 0 / 480.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1601, allocations: 3.938 kB / 480.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002369/0.1603, allocations: 0 / 480.1 MB, free: 15.18 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.008512/0.1689, allocations: 4.16 MB / 484.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1689, allocations: 11.89 kB / 484.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001559/0.1705, allocations: 0.7246 MB / 485 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.1815, allocations: 3.087 MB / 488.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/0.1864, allocations: 2.377 MB / 490.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.1867, allocations: 200.9 kB / 490.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/0.1878, allocations: 251.8 kB / 490.9 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.2065, allocations: 10.4 MB / 0.4895 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.2067, allocations: 19.81 kB / 0.4895 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009347/0.2076, allocations: 119.8 kB / 0.4897 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004381/0.212, allocations: 2.561 MB / 0.4922 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.2324, allocations: 9.461 MB / 0.5014 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2363/0.4688, allocations: 32.46 MB / 0.5331 GB, free: 67.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005486/0.4743, allocations: 3.37 MB / 0.5364 GB, free: 66.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.4758, allocations: 1.078 MB / 0.5374 GB, free: 66.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000914/0.4767, allocations: 1.307 MB / 0.5387 GB, free: 65.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4768, allocations: 50.55 kB / 0.5388 GB, free: 65.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=187): time 3.927e-06/0.4768, allocations: 3.828 kB / 0.5388 GB, free: 65.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.01961/0.4964, allocations: 9.822 MB / 0.5484 GB, free: 63.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4965, allocations: 94.23 kB / 0.5485 GB, free: 63.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.4992, allocations: 2.671 MB / 0.5511 GB, free: 62.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/0.4994, allocations: 49.45 kB / 0.5511 GB, free: 62.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.5005, allocations: 2.744 MB / 0.5538 GB, free: 60.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/0.5009, allocations: 0.7169 MB / 0.5545 GB, free: 59.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009481/0.5019, allocations: 0.9765 MB / 0.5554 GB, free: 59.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.5019, allocations: 301.1 kB / 0.5557 GB, free: 58.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.5037, allocations: 1.555 MB / 0.5572 GB, free: 58.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/0.5064, allocations: 4.471 MB / 0.5616 GB, free: 54.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005197/0.5116, allocations: 6.683 MB / 0.5681 GB, free: 48.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.56e-05/0.5117, allocations: 28.44 kB / 0.5682 GB, free: 48.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.007283/0.519, allocations: 5.934 MB / 0.574 GB, free: 44.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.5191, allocations: 51.98 kB / 0.574 GB, free: 44.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.477e-05/0.5192, allocations: 104.1 kB / 0.5741 GB, free: 44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.5195, allocations: 181.8 kB / 0.5743 GB, free: 43.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.522, allocations: 1.088 MB / 0.5753 GB, free: 42.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.5232, allocations: 1.802 MB / 0.5771 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.5256, allocations: 219.9 kB / 0.5773 GB, free: 40.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/0.5259, allocations: 295.8 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.002412/0.5283, allocations: 2.036 MB / 0.5796 GB, free: 38.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/0.5286, allocations: 248.7 kB / 0.5798 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.5314, allocations: 2.545 MB / 0.5823 GB, free: 35.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.5315, allocations: 20 kB / 0.5823 GB, free: 35.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5315, allocations: 0 / 0.5823 GB, free: 35.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5315, allocations: 11.97 kB / 0.5823 GB, free: 35.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009078/0.5406, allocations: 8.167 MB / 0.5903 GB, free: 27.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.5406, allocations: 11.94 kB / 0.5903 GB, free: 27.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.5415, allocations: 255.5 kB / 0.5906 GB, free: 26.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.5416, allocations: 58.3 kB / 0.5906 GB, free: 26.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.912e-05/0.5417, allocations: 51.92 kB / 0.5907 GB, free: 26.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008798/0.5426, allocations: 1.625 MB / 0.5923 GB, free: 24.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.5426, allocations: 11.94 kB / 0.5923 GB, free: 24.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.5462, allocations: 4.062 MB / 0.5962 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.5469, allocations: 0.5015 MB / 0.5967 GB, free: 20.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.5471, allocations: 40 kB / 0.5968 GB, free: 20.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.5478, allocations: 51.95 kB / 0.5968 GB, free: 20.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.548, allocations: 124.7 kB / 0.5969 GB, free: 19.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/0.5481, allocations: 67.66 kB / 0.597 GB, free: 19.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.5498, allocations: 1.644 MB / 0.5986 GB, free: 18.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5498, allocations: 0 / 0.5986 GB, free: 18.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003066/0.5528, allocations: 0.8092 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.004072/0.5569, allocations: 4.741 MB / 0.604 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006669/0.5636, allocations: 5.528 MB / 0.6094 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5636, allocations: 0 / 0.6094 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.5648, allocations: 1.241 MB / 0.6106 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.5665, allocations: 347.9 kB / 0.611 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05184/0.6183, allocations: 36.66 MB / 0.6468 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/0.6226, allocations: 3.195 MB / 0.6499 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003895/0.6266, allocations: 1.738 MB / 0.6516 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/0.6288, allocations: 1.757 MB / 0.6533 GB, free: 4.484 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6288, allocations: 0 / 0.6533 GB, free: 4.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08413/0.713, allocations: 49.13 MB / 0.7013 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.83, allocations: 8.062 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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