Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001701/0.001701, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001937/0.001937, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.636/1.636, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 46.93 MB / 357.1 MB, free: 10.29 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+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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002897/0.002897, allocations: 71.89 kB / 0.4914 GB, free: 7.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1736, allocations: 65.99 MB / 0.5559 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01139/0.185, allocations: 8.737 MB / 0.5644 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00607/0.1911, allocations: 2.305 MB / 0.5666 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.1922, allocations: 43.88 kB / 0.5667 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.1956, allocations: 1.557 MB / 0.5682 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.197, allocations: 496.9 kB / 0.5687 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1973, allocations: 79.83 kB / 0.5688 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1985, allocations: 0.9254 MB / 0.5697 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.2001, allocations: 1.276 MB / 0.5709 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.2008, allocations: 0.5489 MB / 0.5714 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.2019, allocations: 0.72 MB / 0.5721 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.2021, allocations: 119.9 kB / 0.5723 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.2025, allocations: 127.9 kB / 0.5724 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008656/0.2034, allocations: 0.7439 MB / 0.5731 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.2044, allocations: 0.8502 MB / 0.5739 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.2075, allocations: 2.329 MB / 0.5762 GB, free: 360 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.01e-05/0.2075, allocations: 0 / 0.5762 GB, free: 360 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2075, allocations: 7.938 kB / 0.5762 GB, free: 352 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.728e-05/0.2076, allocations: 0 / 0.5762 GB, free: 352 kB / 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.003198/0.2108, allocations: 1.988 MB / 0.5782 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2108, allocations: 12.03 kB / 0.5782 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.2115, allocations: 223.4 kB / 0.5784 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.2127, allocations: 0.7229 MB / 0.5791 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.2128, allocations: 119.4 kB / 0.5792 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.213, allocations: 156 kB / 0.5794 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.2175, allocations: 3.379 MB / 0.5827 GB, free: 9.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.2175, allocations: 15.88 kB / 0.5827 GB, free: 9.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.2177, allocations: 71.94 kB / 0.5827 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008247/0.2185, allocations: 0.6149 MB / 0.5833 GB, free: 8.613 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003308/0.2218, allocations: 1.858 MB / 0.5852 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3016/0.5234, allocations: 13.51 MB / 0.5984 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.5235, allocations: 170.3 kB / 0.5985 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.5235, allocations: 91.44 kB / 0.5986 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.5235, allocations: 75.28 kB / 0.5987 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.5235, allocations: 107.6 kB / 0.5988 GB, free: 24.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.5235, allocations: 0 / 0.5988 GB, free: 24.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002361/0.5238, allocations: 156.9 kB / 0.5989 GB, free: 24.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5238, allocations: 131.6 kB / 0.5991 GB, free: 24.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.5259, allocations: 1.65 MB / 0.6007 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.5259, allocations: 26.45 kB / 0.6007 GB, free: 23.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/0.5266, allocations: 1.415 MB / 0.6021 GB, free: 23.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.5266, allocations: 46.3 kB / 0.6021 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.527, allocations: 425.3 kB / 0.6025 GB, free: 23.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.968e-05/0.5271, allocations: 359.9 kB / 0.6029 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.5277, allocations: 373.4 kB / 0.6032 GB, free: 22.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.5288, allocations: 1.933 MB / 0.6051 GB, free: 20.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.5305, allocations: 2.511 MB / 0.6076 GB, free: 17.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.815e-05/0.5306, allocations: 21.09 kB / 0.6076 GB, free: 17.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003294/0.5339, allocations: 2.114 MB / 0.6096 GB, free: 16.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.5339, allocations: 29.5 kB / 0.6097 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.452e-05/0.534, allocations: 61.84 kB / 0.6097 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.704e-05/0.5341, allocations: 72.84 kB / 0.6098 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.5353, allocations: 486.2 kB / 0.6103 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001643/0.5355, allocations: 109.7 kB / 0.6104 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5369, allocations: 332.9 kB / 0.6107 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.5371, allocations: 142.5 kB / 0.6108 GB, free: 16.61 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.0009566/0.5381, allocations: 0.8703 MB / 0.6117 GB, free: 16.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5382, allocations: 231.4 kB / 0.6119 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.5384, allocations: 233.3 kB / 0.6121 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.5384, allocations: 183.7 kB / 0.6123 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/0.5384, allocations: 176.8 kB / 0.6125 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.5384, allocations: 183.7 kB / 0.6126 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.5401, allocations: 1.476 MB / 0.6141 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.5401, allocations: 101.7 kB / 0.6142 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-05/0.5401, allocations: 114.7 kB / 0.6143 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.47e-05/0.5402, allocations: 178.5 kB / 0.6145 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.5402, allocations: 188.1 kB / 0.6146 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-05/0.5402, allocations: 177.9 kB / 0.6148 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-05/0.5402, allocations: 177.1 kB / 0.615 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.5404, allocations: 441.8 kB / 0.6154 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.5406, allocations: 301.9 kB / 0.6157 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.5407, allocations: 178.6 kB / 0.6158 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.541, allocations: 103.8 kB / 0.6159 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.541, allocations: 180.8 kB / 0.6161 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.541, allocations: 107.6 kB / 0.6162 GB, free: 12.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.5423, allocations: 1.017 MB / 0.6172 GB, free: 11.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5423, allocations: 0 / 0.6172 GB, free: 11.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001722/0.544, allocations: 437.9 kB / 0.6176 GB, free: 11.74 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.00018/0.5442, allocations: 169.7 kB / 0.6178 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.5454, allocations: 0.8753 MB / 0.6186 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5454, allocations: 0 / 0.6186 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.5454, allocations: 0.9062 kB / 0.6187 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.5461, allocations: 0.574 MB / 0.6192 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.5499, allocations: 2.812 MB / 0.622 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.5511, allocations: 1.577 MB / 0.6235 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.5522, allocations: 0.4906 MB / 0.624 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.5523, allocations: 74.28 kB / 0.624 GB, free: 8.418 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5523, allocations: 1.469 kB / 0.624 GB, free: 8.418 MB / 446.1 MB Notification: Performance of Templates: time 0.01754/0.5699, allocations: 8.955 MB / 0.6328 GB, free: 4.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.947177920490503]