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.001267/0.001267, allocations: 109.1 kB / 21.85 MB, free: 64 kB / 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.001305/0.001305, allocations: 216.3 kB / 25.13 MB, free: 3.586 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.435/1.435, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2328/0.2328, allocations: 46.93 MB / 362 MB, free: 4.305 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.002465/0.002465, allocations: 75.88 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3179, allocations: 66.09 MB / 0.5624 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01072/0.3286, allocations: 8.659 MB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.3338, allocations: 2.301 MB / 0.5731 GB, free: 9.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009281/0.3347, allocations: 47.94 kB / 0.5731 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.3379, allocations: 1.561 MB / 0.5746 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3393, allocations: 496.8 kB / 0.5751 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.3396, allocations: 71.91 kB / 0.5752 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3408, allocations: 0.9254 MB / 0.5761 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.3424, allocations: 1.208 MB / 0.5773 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.343, allocations: 0.5488 MB / 0.5778 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/0.344, allocations: 0.72 MB / 0.5785 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.3442, allocations: 124 kB / 0.5786 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.3445, allocations: 116 kB / 0.5787 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007715/0.3453, allocations: 0.7439 MB / 0.5794 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009413/0.3463, allocations: 0.858 MB / 0.5803 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.3489, allocations: 2.345 MB / 0.5826 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3489, allocations: 4 kB / 0.5826 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3489, allocations: 0 / 0.5826 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.44e-05/0.3489, allocations: 0 / 0.5826 GB, free: 15.41 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.003672/0.3526, allocations: 1.924 MB / 0.5845 GB, free: 13.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3526, allocations: 8.031 kB / 0.5845 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000955/0.3536, allocations: 231.3 kB / 0.5847 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.3555, allocations: 0.6547 MB / 0.5853 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3556, allocations: 115.4 kB / 0.5854 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.3559, allocations: 156.1 kB / 0.5856 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007113/0.363, allocations: 3.379 MB / 0.5889 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/0.3631, allocations: 19.86 kB / 0.5889 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/0.3633, allocations: 71.94 kB / 0.589 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/0.3646, allocations: 0.6227 MB / 0.5896 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005138/0.3697, allocations: 1.862 MB / 0.5914 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.3931, allocations: 13.38 MB / 0.6045 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3933, allocations: 169.1 kB / 0.6046 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.3933, allocations: 84.14 kB / 0.6047 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.3934, allocations: 83.22 kB / 0.6048 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.149e-05/0.3935, allocations: 105.8 kB / 0.6049 GB, free: 7.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.785e-06/0.3935, allocations: 4 kB / 0.6049 GB, free: 7.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004085/0.3939, allocations: 156.8 kB / 0.605 GB, free: 7.531 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.394, allocations: 126.7 kB / 0.6052 GB, free: 7.395 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/0.3976, allocations: 1.647 MB / 0.6068 GB, free: 5.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3977, allocations: 25.7 kB / 0.6068 GB, free: 5.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.3994, allocations: 1.423 MB / 0.6082 GB, free: 4.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.3995, allocations: 43.95 kB / 0.6082 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008472/0.4003, allocations: 427.1 kB / 0.6086 GB, free: 3.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002978/0.4006, allocations: 365.9 kB / 0.609 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4017, allocations: 371.8 kB / 0.6093 GB, free: 3.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.4048, allocations: 1.925 MB / 0.6112 GB, free: 332 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/0.4099, allocations: 2.511 MB / 0.6137 GB, free: 13.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-05/0.4099, allocations: 16 kB / 0.6137 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.006332/0.4162, allocations: 2.119 MB / 0.6158 GB, free: 10.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/0.4163, allocations: 32 kB / 0.6158 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.341e-05/0.4164, allocations: 56 kB / 0.6158 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.4165, allocations: 72 kB / 0.6159 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/0.4188, allocations: 491.7 kB / 0.6164 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001588/0.419, allocations: 107.6 kB / 0.6165 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.4217, allocations: 329.5 kB / 0.6168 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.422, allocations: 144 kB / 0.6169 GB, free: 9.664 MB / 462.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.001945/0.4239, allocations: 0.8588 MB / 0.6178 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/0.4243, allocations: 244.1 kB / 0.618 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.4246, allocations: 228.1 kB / 0.6182 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001235/0.4248, allocations: 176.3 kB / 0.6184 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001191/0.4249, allocations: 188.3 kB / 0.6186 GB, free: 7.938 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001261/0.425, allocations: 184.2 kB / 0.6187 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/0.4278, allocations: 1.441 MB / 0.6202 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.923e-05/0.4279, allocations: 120.8 kB / 0.6203 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.521e-05/0.4279, allocations: 105 kB / 0.6204 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.4281, allocations: 176.3 kB / 0.6205 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.4282, allocations: 184.2 kB / 0.6207 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001309/0.4284, allocations: 184.2 kB / 0.6209 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001361/0.4285, allocations: 184.2 kB / 0.6211 GB, free: 5.281 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.429, allocations: 426 kB / 0.6215 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.4295, allocations: 228 kB / 0.6217 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.4298, allocations: 188.2 kB / 0.6219 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/0.4303, allocations: 104.9 kB / 0.622 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.4305, allocations: 180.3 kB / 0.6221 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/0.4306, allocations: 101 kB / 0.6222 GB, free: 4.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002499/0.4331, allocations: 1.022 MB / 0.6232 GB, free: 3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4331, allocations: 0 / 0.6232 GB, free: 3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003199/0.4363, allocations: 430.7 kB / 0.6236 GB, free: 2.578 MB / 462.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.0002556/0.4365, allocations: 178.5 kB / 0.6238 GB, free: 2.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.439, allocations: 0.8639 MB / 0.6247 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.439, allocations: 4 kB / 0.6247 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.97e-06/0.439, allocations: 0 / 0.6247 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.4404, allocations: 0.5691 MB / 0.6252 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.4469, allocations: 2.815 MB / 0.628 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.4491, allocations: 1.583 MB / 0.6295 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001746/0.4509, allocations: 499.2 kB / 0.63 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.4511, allocations: 75.44 kB / 0.6301 GB, free: 11.93 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4511, allocations: 0 / 0.6301 GB, free: 11.93 MB / 478.1 MB Notification: Performance of Templates: time 0.0232/0.4743, allocations: 10.07 MB / 0.6399 GB, free: 1.891 MB / 478.1 MB " [Timeout remaining time 660] 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 -s gbode -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 5.2867655688896775]