Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001321/0.001321, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001454/0.001454, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.483/1.483, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2448/0.2448, allocations: 46.89 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003492/0.003492, allocations: 87.86 kB / 0.4924 GB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1464, allocations: 65.99 MB / 0.5568 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0105/0.1569, allocations: 8.729 MB / 0.5653 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004957/0.1619, allocations: 2.305 MB / 0.5676 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009675/0.1629, allocations: 39.94 kB / 0.5676 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.1663, allocations: 1.561 MB / 0.5692 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1678, allocations: 497.3 kB / 0.5696 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.1681, allocations: 75.89 kB / 0.5697 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.1695, allocations: 0.9254 MB / 0.5706 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.1712, allocations: 1.276 MB / 0.5719 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007517/0.1719, allocations: 0.5371 MB / 0.5724 GB, free: 5.992 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.173, allocations: 0.72 MB / 0.5731 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.1733, allocations: 120 kB / 0.5732 GB, free: 5.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.1736, allocations: 124 kB / 0.5733 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007666/0.1744, allocations: 0.7361 MB / 0.574 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009238/0.1753, allocations: 0.8541 MB / 0.5749 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.1779, allocations: 2.333 MB / 0.5772 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.1779, allocations: 0 / 0.5772 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1779, allocations: 0 / 0.5772 GB, free: 1.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.678e-05/0.1779, allocations: 3.938 kB / 0.5772 GB, free: 1.086 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.003053/0.181, allocations: 1.999 MB / 0.5791 GB, free: 15.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.181, allocations: 8.031 kB / 0.5791 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006127/0.1817, allocations: 223.4 kB / 0.5793 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.1828, allocations: 0.7268 MB / 0.58 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1829, allocations: 115.4 kB / 0.5801 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.1831, allocations: 152.1 kB / 0.5803 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004629/0.1877, allocations: 3.383 MB / 0.5836 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-05/0.1878, allocations: 19.88 kB / 0.5836 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.1879, allocations: 71.94 kB / 0.5837 GB, free: 9.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008347/0.1887, allocations: 0.6149 MB / 0.5843 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.1921, allocations: 1.858 MB / 0.5861 GB, free: 7.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2886/0.4807, allocations: 13.51 MB / 0.5993 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.4808, allocations: 170.4 kB / 0.5994 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.4808, allocations: 80.14 kB / 0.5995 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.4808, allocations: 80.5 kB / 0.5996 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4808, allocations: 111.1 kB / 0.5997 GB, free: 24.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.833e-06/0.4808, allocations: 0.8125 kB / 0.5997 GB, free: 24.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002667/0.4811, allocations: 163.3 kB / 0.5999 GB, free: 24.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.4812, allocations: 130.6 kB / 0.6 GB, free: 24.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.4835, allocations: 1.653 MB / 0.6016 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4835, allocations: 29.23 kB / 0.6016 GB, free: 24.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.4843, allocations: 1.414 MB / 0.603 GB, free: 23.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.4844, allocations: 42.52 kB / 0.6031 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004636/0.4848, allocations: 431.4 kB / 0.6035 GB, free: 23.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4849, allocations: 356.2 kB / 0.6038 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.4855, allocations: 368.7 kB / 0.6042 GB, free: 23.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.4867, allocations: 1.934 MB / 0.606 GB, free: 20.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.4887, allocations: 2.509 MB / 0.6085 GB, free: 18.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/0.4888, allocations: 16.41 kB / 0.6085 GB, free: 18.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003775/0.4926, allocations: 2.12 MB / 0.6106 GB, free: 17.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.286e-05/0.4926, allocations: 30.12 kB / 0.6106 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/0.4927, allocations: 59.53 kB / 0.6107 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.445e-05/0.4928, allocations: 76.62 kB / 0.6107 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4941, allocations: 487.3 kB / 0.6112 GB, free: 17.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001585/0.4942, allocations: 108.7 kB / 0.6113 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.496, allocations: 333.5 kB / 0.6116 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4961, allocations: 136.8 kB / 0.6118 GB, free: 17.05 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.001256/0.4974, allocations: 0.869 MB / 0.6126 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.4977, allocations: 229.1 kB / 0.6128 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.4979, allocations: 237.2 kB / 0.613 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.4979, allocations: 186.4 kB / 0.6132 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.316e-05/0.4979, allocations: 177.2 kB / 0.6134 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.4979, allocations: 185.1 kB / 0.6136 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.5001, allocations: 1.472 MB / 0.615 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.5002, allocations: 114.9 kB / 0.6151 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.5002, allocations: 101.7 kB / 0.6152 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-05/0.5002, allocations: 182.3 kB / 0.6154 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.5002, allocations: 186.2 kB / 0.6156 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.883e-05/0.5003, allocations: 182.5 kB / 0.6157 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-05/0.5003, allocations: 184.8 kB / 0.6159 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.5005, allocations: 431.3 kB / 0.6163 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.5008, allocations: 305.3 kB / 0.6166 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.501, allocations: 178.1 kB / 0.6168 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.5013, allocations: 111.7 kB / 0.6169 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.5013, allocations: 181.4 kB / 0.6171 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5013, allocations: 102.9 kB / 0.6172 GB, free: 12.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.5028, allocations: 1.02 MB / 0.6182 GB, free: 12.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5028, allocations: 0 / 0.6182 GB, free: 12.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5051, allocations: 429 kB / 0.6186 GB, free: 12.18 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.0001457/0.5052, allocations: 169.9 kB / 0.6187 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.5068, allocations: 0.8688 MB / 0.6196 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5068, allocations: 4.125 kB / 0.6196 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.5068, allocations: 0 / 0.6196 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008637/0.5077, allocations: 0.5652 MB / 0.6201 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00512/0.5128, allocations: 2.995 MB / 0.6231 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.5142, allocations: 1.577 MB / 0.6246 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.5145, allocations: 91.61 kB / 0.6247 GB, free: 8.812 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.5145, allocations: 0 / 0.6247 GB, free: 8.812 MB / 446.1 MB Notification: Performance of Templates: time 0.02893/0.5434, allocations: 17.97 MB / 0.6422 GB, free: 12.48 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 9.221521651139483]