Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 121.3 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.88 kB / 0.4913 GB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1224, allocations: 66.01 MB / 0.5557 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01492/0.1373, allocations: 8.727 MB / 0.5642 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006786/0.1441, allocations: 2.297 MB / 0.5665 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.1452, allocations: 43.88 kB / 0.5665 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.1498, allocations: 1.554 MB / 0.568 GB, free: 9.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.1516, allocations: 0.4886 MB / 0.5685 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.152, allocations: 75.84 kB / 0.5686 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.1535, allocations: 0.9293 MB / 0.5695 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.155, allocations: 1.276 MB / 0.5707 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.1556, allocations: 0.5333 MB / 0.5713 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009579/0.1566, allocations: 0.716 MB / 0.572 GB, free: 5.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.1568, allocations: 120 kB / 0.5721 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.1571, allocations: 127.9 kB / 0.5722 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000726/0.1578, allocations: 0.7478 MB / 0.5729 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.1586, allocations: 0.8503 MB / 0.5738 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.1612, allocations: 2.325 MB / 0.576 GB, free: 1.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1612, allocations: 8 kB / 0.576 GB, free: 1.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1612, allocations: 0 / 0.576 GB, free: 1.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.561e-05/0.1612, allocations: 0 / 0.576 GB, free: 1.242 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.002973/0.1642, allocations: 1.991 MB / 0.578 GB, free: 15.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1642, allocations: 8.031 kB / 0.578 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003932/0.1646, allocations: 334.5 kB / 0.5783 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/0.1653, allocations: 227.4 kB / 0.5785 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.1667, allocations: 0.7345 MB / 0.5792 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.1668, allocations: 119.4 kB / 0.5794 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.1669, allocations: 147.9 kB / 0.5795 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004306/0.1713, allocations: 3.383 MB / 0.5828 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.1713, allocations: 11.88 kB / 0.5828 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.1714, allocations: 75.94 kB / 0.5829 GB, free: 9.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007556/0.1722, allocations: 0.611 MB / 0.5835 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003017/0.1752, allocations: 1.866 MB / 0.5853 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2399/0.4151, allocations: 13.5 MB / 0.5985 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.4152, allocations: 171 kB / 0.5987 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.4152, allocations: 80.77 kB / 0.5987 GB, free: 24.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4152, allocations: 75.8 kB / 0.5988 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.4153, allocations: 111.9 kB / 0.5989 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.325e-06/0.4153, allocations: 3.281 kB / 0.5989 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000225/0.4155, allocations: 166.2 kB / 0.5991 GB, free: 24.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.4155, allocations: 129.3 kB / 0.5992 GB, free: 24.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.4176, allocations: 1.65 MB / 0.6008 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.4176, allocations: 26.58 kB / 0.6008 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/0.4183, allocations: 1.412 MB / 0.6022 GB, free: 23.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.4183, allocations: 45.45 kB / 0.6023 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.4188, allocations: 425.4 kB / 0.6027 GB, free: 23.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.4189, allocations: 362.6 kB / 0.603 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.4194, allocations: 371.4 kB / 0.6034 GB, free: 22.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.4205, allocations: 1.936 MB / 0.6052 GB, free: 20.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.4224, allocations: 2.509 MB / 0.6077 GB, free: 18.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.712e-05/0.4224, allocations: 16.38 kB / 0.6077 GB, free: 18.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003292/0.4257, allocations: 2.118 MB / 0.6098 GB, free: 17.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.505e-05/0.4258, allocations: 31.72 kB / 0.6098 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.579e-05/0.4259, allocations: 58.31 kB / 0.6099 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.426, allocations: 73.03 kB / 0.6099 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.4273, allocations: 491.8 kB / 0.6104 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001617/0.4274, allocations: 109.6 kB / 0.6105 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.429, allocations: 332.2 kB / 0.6108 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.4292, allocations: 138.7 kB / 0.611 GB, free: 16.92 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.0009916/0.4301, allocations: 0.8681 MB / 0.6118 GB, free: 16.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.4303, allocations: 232.7 kB / 0.612 GB, free: 16.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.4305, allocations: 228.8 kB / 0.6122 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.4305, allocations: 182.3 kB / 0.6124 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.403e-05/0.4305, allocations: 182.7 kB / 0.6126 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.4305, allocations: 178.5 kB / 0.6128 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.4324, allocations: 1.48 MB / 0.6142 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.4324, allocations: 104.7 kB / 0.6143 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.4324, allocations: 106.7 kB / 0.6144 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-05/0.4324, allocations: 186.1 kB / 0.6146 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.4325, allocations: 182 kB / 0.6148 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.633e-05/0.4325, allocations: 181.9 kB / 0.6149 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.572e-05/0.4325, allocations: 177.8 kB / 0.6151 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.4327, allocations: 445.8 kB / 0.6155 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.433, allocations: 298 kB / 0.6158 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.4331, allocations: 182.6 kB / 0.616 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.4334, allocations: 103.1 kB / 0.6161 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.4334, allocations: 183.4 kB / 0.6163 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.4334, allocations: 102.8 kB / 0.6164 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.4347, allocations: 1.02 MB / 0.6174 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4347, allocations: 0 / 0.6174 GB, free: 12.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001734/0.4365, allocations: 434 kB / 0.6178 GB, free: 12.05 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.0003701/0.4368, allocations: 0.9473 MB / 0.6187 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.4381, allocations: 0.867 MB / 0.6195 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4381, allocations: 0 / 0.6195 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.614e-06/0.4381, allocations: 1.344 kB / 0.6195 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007048/0.4388, allocations: 0.5774 MB / 0.6201 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.453, allocations: 13.6 MB / 0.6334 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.4542, allocations: 1.581 MB / 0.6349 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.4554, allocations: 496.8 kB / 0.6354 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/0.4561, allocations: 0.6633 MB / 0.6361 GB, free: 14.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4561, allocations: 0 / 0.6361 GB, free: 14.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05257/0.5087, allocations: 21.81 MB / 0.6574 GB, free: 10.44 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.07, allocations: 2.344 kB / 0.6574 GB, free: 10.44 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.333673366811126]