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.001469/0.001469, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001619/0.001619, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.22/0.22, allocations: 44.91 MB / 359.6 MB, free: 6.285 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",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.002008/0.002008, allocations: 67.89 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 65.47 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01172/0.3818, allocations: 8.748 MB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.3885, allocations: 2.326 MB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.3899, allocations: 43.88 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.3933, allocations: 1.565 MB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.3947, allocations: 489.3 kB / 0.5707 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.395, allocations: 71.89 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.3963, allocations: 0.9293 MB / 0.5716 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.3978, allocations: 1.213 MB / 0.5728 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.3985, allocations: 0.5372 MB / 0.5733 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.3996, allocations: 0.7161 MB / 0.574 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.3998, allocations: 120 kB / 0.5742 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.4002, allocations: 127.9 kB / 0.5743 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007656/0.4009, allocations: 0.7478 MB / 0.575 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008493/0.4018, allocations: 0.8503 MB / 0.5758 GB, free: 5.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002871/0.4047, allocations: 2.325 MB / 0.5781 GB, free: 2.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4047, allocations: 3.938 kB / 0.5781 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4047, allocations: 4 kB / 0.5781 GB, free: 2.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.4047, allocations: 3.984 kB / 0.5781 GB, free: 2.82 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.003058/0.4077, allocations: 1.92 MB / 0.58 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.4078, allocations: 8.031 kB / 0.58 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.526e-05/0.4079, allocations: 55.23 kB / 0.5801 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003674/0.4082, allocations: 326.5 kB / 0.5804 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006929/0.4089, allocations: 223.4 kB / 0.5806 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4102, allocations: 0.6625 MB / 0.5812 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.4103, allocations: 119.1 kB / 0.5813 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4105, allocations: 151.9 kB / 0.5815 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.4149, allocations: 3.375 MB / 0.5848 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.4149, allocations: 15.81 kB / 0.5848 GB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/0.415, allocations: 79.88 kB / 0.5849 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008015/0.4158, allocations: 0.6149 MB / 0.5855 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.4193, allocations: 1.858 MB / 0.5873 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.4348, allocations: 13.45 MB / 0.6004 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.435, allocations: 173.1 kB / 0.6006 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.4351, allocations: 80.14 kB / 0.6007 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.4351, allocations: 79.22 kB / 0.6007 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.322e-05/0.4352, allocations: 113.8 kB / 0.6009 GB, free: 10.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 3.617e-06/0.4352, allocations: 0 / 0.6009 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003961/0.4356, allocations: 152.9 kB / 0.601 GB, free: 10.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4357, allocations: 126.7 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.4382, allocations: 1.651 MB / 0.6027 GB, free: 8.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.4382, allocations: 25.7 kB / 0.6028 GB, free: 8.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.4394, allocations: 1.416 MB / 0.6041 GB, free: 7.246 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.4395, allocations: 47.95 kB / 0.6042 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004966/0.44, allocations: 435.1 kB / 0.6046 GB, free: 6.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4402, allocations: 353.9 kB / 0.6049 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/0.4407, allocations: 367.8 kB / 0.6053 GB, free: 6.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.4429, allocations: 1.933 MB / 0.6072 GB, free: 3.301 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.446, allocations: 2.507 MB / 0.6096 GB, free: 15.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/0.446, allocations: 16 kB / 0.6096 GB, free: 15.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00353/0.4495, allocations: 2.123 MB / 0.6117 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.4496, allocations: 28 kB / 0.6117 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-05/0.4496, allocations: 56 kB / 0.6118 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.468e-05/0.4497, allocations: 76 kB / 0.6119 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.4509, allocations: 487.7 kB / 0.6123 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001124/0.451, allocations: 111.6 kB / 0.6124 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.4527, allocations: 333.5 kB / 0.6128 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.4529, allocations: 136 kB / 0.6129 GB, free: 12.64 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.001222/0.4541, allocations: 0.8627 MB / 0.6137 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.4544, allocations: 236.1 kB / 0.614 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.4546, allocations: 232.2 kB / 0.6142 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.317e-05/0.4547, allocations: 176.3 kB / 0.6143 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.9e-05/0.4547, allocations: 188.2 kB / 0.6145 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.389e-05/0.4548, allocations: 184.2 kB / 0.6147 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.4565, allocations: 1.457 MB / 0.6161 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.4566, allocations: 108.9 kB / 0.6162 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.4566, allocations: 104.9 kB / 0.6163 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/0.4567, allocations: 184.2 kB / 0.6165 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-05/0.4568, allocations: 176.3 kB / 0.6167 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.283e-05/0.4569, allocations: 180.2 kB / 0.6168 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.34e-05/0.4569, allocations: 188.3 kB / 0.617 GB, free: 8.254 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.4573, allocations: 433.9 kB / 0.6174 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003064/0.4576, allocations: 220.1 kB / 0.6176 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.4578, allocations: 180.2 kB / 0.6178 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.4581, allocations: 105 kB / 0.6179 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.4582, allocations: 192.2 kB / 0.6181 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.4583, allocations: 101 kB / 0.6182 GB, free: 6.988 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001437/0.4597, allocations: 1.01 MB / 0.6192 GB, free: 5.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4597, allocations: 0 / 0.6192 GB, free: 5.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001804/0.4615, allocations: 434.7 kB / 0.6196 GB, free: 5.555 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.0006482/0.4621, allocations: 0.9445 MB / 0.6205 GB, free: 4.582 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.4635, allocations: 0.8682 MB / 0.6214 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4635, allocations: 0 / 0.6214 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.4635, allocations: 0 / 0.6214 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.4644, allocations: 0.5835 MB / 0.6219 GB, free: 3.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.4834, allocations: 13.61 MB / 0.6352 GB, free: 3.746 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/0.4852, allocations: 1.572 MB / 0.6368 GB, free: 2.141 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.4864, allocations: 0.4914 MB / 0.6372 GB, free: 1.645 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008023/0.4872, allocations: 0.6633 MB / 0.6379 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4872, allocations: 0 / 0.6379 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05719/0.5444, allocations: 23.39 MB / 0.6607 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/15.72, allocations: 8 kB / 0.6607 GB, free: 9.785 MB / 0.4981 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 19.4626437589759]