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.001785/0.001785, allocations: 121 kB / 18.5 MB, free: 4.562 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.002114/0.002114, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.491/1.491, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2335/0.2335, allocations: 44.9 MB / 355.8 MB, free: 12.33 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.002078/0.002078, allocations: 71.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1184, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01032/0.1287, allocations: 8.723 MB / 0.561 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005441/0.1341, allocations: 2.305 MB / 0.5632 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.1355, allocations: 43.88 kB / 0.5633 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.1387, allocations: 1.557 MB / 0.5648 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1401, allocations: 493.3 kB / 0.5653 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1404, allocations: 79.89 kB / 0.5653 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1417, allocations: 0.9254 MB / 0.5662 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001439/0.1431, allocations: 1.28 MB / 0.5675 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.1437, allocations: 0.5488 MB / 0.568 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009873/0.1447, allocations: 0.7239 MB / 0.5687 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.1449, allocations: 116 kB / 0.5689 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.1452, allocations: 128 kB / 0.569 GB, free: 9.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007193/0.1459, allocations: 0.74 MB / 0.5697 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008289/0.1468, allocations: 0.8502 MB / 0.5705 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.1493, allocations: 2.333 MB / 0.5728 GB, free: 5.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1493, allocations: 0 / 0.5728 GB, free: 5.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1493, allocations: 0 / 0.5728 GB, free: 5.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.974e-05/0.1494, allocations: 0 / 0.5728 GB, free: 5.172 MB / 430.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.002867/0.1522, allocations: 1.995 MB / 0.5748 GB, free: 3.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1523, allocations: 12.03 kB / 0.5748 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.633e-05/0.1523, allocations: 47.23 kB / 0.5748 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003555/0.1527, allocations: 330.5 kB / 0.5751 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.1533, allocations: 223.4 kB / 0.5753 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.1545, allocations: 0.7268 MB / 0.576 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1546, allocations: 123.1 kB / 0.5762 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.1548, allocations: 151.9 kB / 0.5763 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004434/0.1592, allocations: 3.379 MB / 0.5796 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.1593, allocations: 19.81 kB / 0.5796 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.1594, allocations: 71.94 kB / 0.5797 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007837/0.1602, allocations: 0.6149 MB / 0.5803 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.1633, allocations: 1.854 MB / 0.5821 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2583/0.4216, allocations: 13.51 MB / 0.5953 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.4216, allocations: 169.9 kB / 0.5955 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.4216, allocations: 86.11 kB / 0.5955 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4217, allocations: 75.28 kB / 0.5956 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.4217, allocations: 111.5 kB / 0.5957 GB, free: 27.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.4217, allocations: 0 / 0.5957 GB, free: 27.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002112/0.4219, allocations: 161.8 kB / 0.5959 GB, free: 27.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.4219, allocations: 130.8 kB / 0.596 GB, free: 27.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.4238, allocations: 1.655 MB / 0.5976 GB, free: 27.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.4238, allocations: 30.7 kB / 0.5976 GB, free: 27.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.4245, allocations: 1.416 MB / 0.599 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.4245, allocations: 45.11 kB / 0.5991 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/0.4249, allocations: 425.8 kB / 0.5995 GB, free: 26.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.425, allocations: 357.5 kB / 0.5998 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/0.4256, allocations: 370.6 kB / 0.6002 GB, free: 26.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.4266, allocations: 1.928 MB / 0.6021 GB, free: 24.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.4284, allocations: 2.516 MB / 0.6045 GB, free: 21.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-05/0.4284, allocations: 16.66 kB / 0.6045 GB, free: 21.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00365/0.4321, allocations: 2.113 MB / 0.6066 GB, free: 20.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.4321, allocations: 32.19 kB / 0.6066 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.573e-05/0.4322, allocations: 57.92 kB / 0.6067 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.4323, allocations: 73.88 kB / 0.6067 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4335, allocations: 489.9 kB / 0.6072 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/0.4337, allocations: 109.7 kB / 0.6073 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4353, allocations: 337.1 kB / 0.6076 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.4355, allocations: 137.2 kB / 0.6078 GB, free: 20.5 MB / 446.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.001286/0.4368, allocations: 0.8684 MB / 0.6086 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.437, allocations: 239.4 kB / 0.6088 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.4372, allocations: 222.8 kB / 0.6091 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/0.4372, allocations: 186 kB / 0.6092 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/0.4373, allocations: 182.1 kB / 0.6094 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.4373, allocations: 181.5 kB / 0.6096 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.4392, allocations: 1.479 MB / 0.611 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.4392, allocations: 101.5 kB / 0.6111 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.4392, allocations: 106.7 kB / 0.6112 GB, free: 18.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.426e-05/0.4392, allocations: 178.5 kB / 0.6114 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.4393, allocations: 188.5 kB / 0.6116 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.366e-05/0.4393, allocations: 181.6 kB / 0.6118 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/0.4393, allocations: 182.7 kB / 0.6119 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.4395, allocations: 443.9 kB / 0.6123 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.4398, allocations: 294.9 kB / 0.6126 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.4399, allocations: 186.1 kB / 0.6128 GB, free: 16.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.4402, allocations: 103.7 kB / 0.6129 GB, free: 16.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.4402, allocations: 186.8 kB / 0.6131 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4402, allocations: 102.3 kB / 0.6132 GB, free: 16.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.4416, allocations: 1.011 MB / 0.6142 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4416, allocations: 5.344 kB / 0.6142 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002142/0.4438, allocations: 436.4 kB / 0.6146 GB, free: 15.63 MB / 446.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.000423/0.4442, allocations: 0.9367 MB / 0.6155 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.4457, allocations: 0.8709 MB / 0.6164 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4457, allocations: 0 / 0.6164 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.4457, allocations: 1.156 kB / 0.6164 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.4466, allocations: 0.577 MB / 0.6169 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.4632, allocations: 13.6 MB / 0.6302 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.4643, allocations: 1.577 MB / 0.6317 GB, free: 3.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001041/0.4654, allocations: 0.4904 MB / 0.6322 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006159/0.466, allocations: 0.6636 MB / 0.6329 GB, free: 2.762 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.466, allocations: 0 / 0.6329 GB, free: 2.762 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.5144, allocations: 21.86 MB / 0.6542 GB, free: 14.83 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.97, allocations: 4.062 kB / 0.6542 GB, free: 14.82 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.717110313999001]