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.001623/0.001623, allocations: 118.2 kB / 18.49 MB, free: 4.59 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.001918/0.001918, allocations: 214.3 kB / 21.45 MB, free: 1.637 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.515/1.515, allocations: 230.4 MB / 254.7 MB, free: 14.85 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.2254/0.2254, allocations: 46.92 MB / 357.7 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 75.88 kB / 0.4917 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1423, allocations: 66.04 MB / 0.5562 GB, free: 5.602 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01028/0.1526, allocations: 8.732 MB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004664/0.1573, allocations: 2.301 MB / 0.5669 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.158, allocations: 47.88 kB / 0.567 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.1611, allocations: 1.557 MB / 0.5685 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.1622, allocations: 493.3 kB / 0.569 GB, free: 8.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.1624, allocations: 71.91 kB / 0.5691 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.1635, allocations: 0.9293 MB / 0.57 GB, free: 7.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.165, allocations: 1.28 MB / 0.5712 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.1656, allocations: 0.5449 MB / 0.5717 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.1665, allocations: 0.72 MB / 0.5724 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.1667, allocations: 123.9 kB / 0.5726 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.1669, allocations: 124 kB / 0.5727 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006588/0.1676, allocations: 0.7439 MB / 0.5734 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.1683, allocations: 0.8503 MB / 0.5742 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.1706, allocations: 2.325 MB / 0.5765 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1706, allocations: 4 kB / 0.5765 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1706, allocations: 4 kB / 0.5765 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.1707, allocations: 7.938 kB / 0.5765 GB, free: 0.6406 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.002731/0.1734, allocations: 1.991 MB / 0.5785 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1734, allocations: 8.031 kB / 0.5785 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.426e-05/0.1735, allocations: 47.23 kB / 0.5785 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003652/0.1739, allocations: 330.5 kB / 0.5788 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.1745, allocations: 231.4 kB / 0.5791 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.1757, allocations: 0.7189 MB / 0.5798 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.1758, allocations: 127 kB / 0.5799 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.176, allocations: 147.9 kB / 0.58 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.1802, allocations: 3.379 MB / 0.5833 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.1803, allocations: 15.81 kB / 0.5833 GB, free: 9.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.1804, allocations: 71.95 kB / 0.5834 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008039/0.1812, allocations: 0.6149 MB / 0.584 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.1843, allocations: 1.858 MB / 0.5858 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2694/0.4537, allocations: 13.51 MB / 0.599 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.4537, allocations: 168.2 kB / 0.5992 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.4538, allocations: 83.97 kB / 0.5993 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.4538, allocations: 76.91 kB / 0.5993 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.4538, allocations: 107.9 kB / 0.5994 GB, free: 24.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.134e-06/0.4538, allocations: 1.234 kB / 0.5994 GB, free: 24.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002514/0.4541, allocations: 163 kB / 0.5996 GB, free: 24.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.4541, allocations: 129 kB / 0.5997 GB, free: 23.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.4563, allocations: 1.654 MB / 0.6013 GB, free: 23.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.4563, allocations: 28.98 kB / 0.6014 GB, free: 23.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.457, allocations: 1.411 MB / 0.6027 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.4571, allocations: 45.12 kB / 0.6028 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.4576, allocations: 428.5 kB / 0.6032 GB, free: 22.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4577, allocations: 361.2 kB / 0.6035 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005774/0.4583, allocations: 371.2 kB / 0.6039 GB, free: 22.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4595, allocations: 1.933 MB / 0.6058 GB, free: 20.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.4613, allocations: 2.511 MB / 0.6082 GB, free: 17.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-05/0.4614, allocations: 16.25 kB / 0.6082 GB, free: 17.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003656/0.465, allocations: 2.118 MB / 0.6103 GB, free: 16.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.4651, allocations: 30.75 kB / 0.6103 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.734e-05/0.4652, allocations: 61.2 kB / 0.6104 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.4653, allocations: 74.66 kB / 0.6105 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4666, allocations: 486.3 kB / 0.6109 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/0.4668, allocations: 112.9 kB / 0.611 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.4685, allocations: 330.1 kB / 0.6113 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.4687, allocations: 139.4 kB / 0.6115 GB, free: 16.49 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.001193/0.4699, allocations: 0.8691 MB / 0.6123 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.4701, allocations: 232.4 kB / 0.6126 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.4703, allocations: 232.8 kB / 0.6128 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/0.4703, allocations: 178.6 kB / 0.6129 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/0.4703, allocations: 184.6 kB / 0.6131 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.4703, allocations: 182.3 kB / 0.6133 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.4724, allocations: 1.475 MB / 0.6147 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/0.4725, allocations: 106.8 kB / 0.6148 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.683e-05/0.4725, allocations: 103.7 kB / 0.6149 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.015e-05/0.4725, allocations: 186 kB / 0.6151 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.4726, allocations: 186.2 kB / 0.6153 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.051e-05/0.4726, allocations: 178.7 kB / 0.6155 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.381e-05/0.4726, allocations: 182.1 kB / 0.6156 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.4729, allocations: 436.4 kB / 0.6161 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.4732, allocations: 299 kB / 0.6163 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4733, allocations: 186.2 kB / 0.6165 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.4736, allocations: 103.2 kB / 0.6166 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.4736, allocations: 178.2 kB / 0.6168 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.4737, allocations: 106.9 kB / 0.6169 GB, free: 12.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4752, allocations: 1.015 MB / 0.6179 GB, free: 11.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4752, allocations: 0 / 0.6179 GB, free: 11.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001909/0.4771, allocations: 442.2 kB / 0.6183 GB, free: 11.62 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.0004381/0.4776, allocations: 0.9318 MB / 0.6192 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.4791, allocations: 0.8723 MB / 0.6201 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4791, allocations: 4 kB / 0.6201 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.4791, allocations: 0 / 0.6201 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007544/0.4798, allocations: 0.5719 MB / 0.6206 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.496, allocations: 13.61 MB / 0.6339 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.4973, allocations: 1.58 MB / 0.6355 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4984, allocations: 0.4926 MB / 0.6359 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/0.4991, allocations: 0.6671 MB / 0.6366 GB, free: 14.39 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4991, allocations: 0 / 0.6366 GB, free: 14.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.544, allocations: 21.84 MB / 0.6579 GB, free: 9.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.09, allocations: 7.938 kB / 0.6579 GB, free: 9.836 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.799945442005992]