Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 216.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.91 MB / 358.8 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 63.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3945, allocations: 65.48 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01104/0.4055, allocations: 8.747 MB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.411, allocations: 2.326 MB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.4123, allocations: 43.88 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.4156, allocations: 1.569 MB / 0.5694 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.4171, allocations: 493.3 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4174, allocations: 67.91 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.4188, allocations: 0.9332 MB / 0.5709 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.4203, allocations: 1.205 MB / 0.5721 GB, free: 8.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007658/0.4211, allocations: 0.5372 MB / 0.5726 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.4222, allocations: 0.72 MB / 0.5733 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002078/0.4224, allocations: 120 kB / 0.5734 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.4227, allocations: 120 kB / 0.5735 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007365/0.4234, allocations: 0.7517 MB / 0.5742 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000842/0.4243, allocations: 0.8541 MB / 0.5751 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.4268, allocations: 2.325 MB / 0.5774 GB, free: 2.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.4268, allocations: 4 kB / 0.5774 GB, free: 2.836 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4268, allocations: 0 / 0.5774 GB, free: 2.836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.727e-05/0.4269, allocations: 0 / 0.5774 GB, free: 2.836 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003253/0.4301, allocations: 1.924 MB / 0.5792 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4302, allocations: 8.031 kB / 0.5792 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004326/0.4306, allocations: 334.5 kB / 0.5796 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000699/0.4313, allocations: 223.4 kB / 0.5798 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.4327, allocations: 0.6627 MB / 0.5804 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4328, allocations: 119.4 kB / 0.5805 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.433, allocations: 155.9 kB / 0.5807 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/0.4382, allocations: 3.371 MB / 0.584 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.4383, allocations: 15.88 kB / 0.584 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.4384, allocations: 71.94 kB / 0.5841 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009477/0.4394, allocations: 0.6226 MB / 0.5847 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.4433, allocations: 1.858 MB / 0.5865 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.4588, allocations: 13.45 MB / 0.5996 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4589, allocations: 173.1 kB / 0.5998 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.4589, allocations: 84.08 kB / 0.5999 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.459, allocations: 75.28 kB / 0.5999 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/0.459, allocations: 105.8 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.954e-06/0.459, allocations: 0 / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000302/0.4593, allocations: 164.8 kB / 0.6002 GB, free: 10.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.4594, allocations: 126.7 kB / 0.6003 GB, free: 10.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.4615, allocations: 1.647 MB / 0.6019 GB, free: 8.773 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4615, allocations: 29.7 kB / 0.6019 GB, free: 8.738 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.4626, allocations: 1.416 MB / 0.6033 GB, free: 7.305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.4627, allocations: 43.95 kB / 0.6034 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.4631, allocations: 431.1 kB / 0.6038 GB, free: 6.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.4633, allocations: 357.9 kB / 0.6041 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.4639, allocations: 371.8 kB / 0.6045 GB, free: 6.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/0.4659, allocations: 1.929 MB / 0.6064 GB, free: 3.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.4692, allocations: 2.507 MB / 0.6088 GB, free: 56 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.145e-05/0.4692, allocations: 20 kB / 0.6088 GB, free: 36 kB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003928/0.4731, allocations: 2.119 MB / 0.6109 GB, free: 13.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.4732, allocations: 32 kB / 0.6109 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.324e-05/0.4733, allocations: 56 kB / 0.611 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.657e-05/0.4734, allocations: 72 kB / 0.6111 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.4746, allocations: 491 kB / 0.6115 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001152/0.4747, allocations: 115.5 kB / 0.6116 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.4762, allocations: 326 kB / 0.6119 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.4763, allocations: 144 kB / 0.6121 GB, free: 12.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.4775, allocations: 0.8589 MB / 0.6129 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.4777, allocations: 232.1 kB / 0.6131 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.478, allocations: 236.1 kB / 0.6134 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-05/0.478, allocations: 176.3 kB / 0.6135 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-05/0.4781, allocations: 188.2 kB / 0.6137 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.122e-05/0.4782, allocations: 180.2 kB / 0.6139 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.48, allocations: 1.449 MB / 0.6153 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.185e-05/0.4801, allocations: 112.9 kB / 0.6154 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.4801, allocations: 105 kB / 0.6155 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-05/0.4802, allocations: 188.2 kB / 0.6157 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.543e-05/0.4803, allocations: 180.2 kB / 0.6159 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.768e-05/0.4804, allocations: 176.3 kB / 0.616 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.361e-05/0.4805, allocations: 180.2 kB / 0.6162 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.4808, allocations: 445.9 kB / 0.6166 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.4811, allocations: 216.1 kB / 0.6168 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.4813, allocations: 180.3 kB / 0.617 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.4816, allocations: 108.9 kB / 0.6171 GB, free: 7.352 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.4817, allocations: 180.3 kB / 0.6173 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.4818, allocations: 112.9 kB / 0.6174 GB, free: 7.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001392/0.4831, allocations: 1.01 MB / 0.6184 GB, free: 6.043 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4831, allocations: 0 / 0.6184 GB, free: 6.043 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001661/0.4848, allocations: 434.7 kB / 0.6188 GB, free: 5.617 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006396/0.4854, allocations: 0.9368 MB / 0.6197 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.4869, allocations: 0.8747 MB / 0.6206 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4869, allocations: 0 / 0.6206 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.4869, allocations: 1.812 kB / 0.6206 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.4878, allocations: 0.5751 MB / 0.6211 GB, free: 3.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.507, allocations: 13.61 MB / 0.6344 GB, free: 3.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.5085, allocations: 1.572 MB / 0.6359 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001133/0.5097, allocations: 0.4914 MB / 0.6364 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007687/0.5104, allocations: 0.6594 MB / 0.6371 GB, free: 1.055 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5104, allocations: 4 kB / 0.6371 GB, free: 1.051 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06269/0.5731, allocations: 23.36 MB / 0.6599 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.76, allocations: 13.45 kB / 0.6599 GB, free: 9.875 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.847178267002164]