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.001288/0.001288, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001601/0.001601, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 7.957 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.2263/0.2263, allocations: 46.94 MB / 361.6 MB, free: 4.227 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.002304/0.002304, allocations: 67.91 kB / 0.4974 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3238, allocations: 66.02 MB / 0.5619 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0166/0.3404, allocations: 8.748 MB / 0.5704 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007456/0.3479, allocations: 2.32 MB / 0.5727 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.3496, allocations: 43.88 kB / 0.5727 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00504/0.3547, allocations: 1.557 MB / 0.5743 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.3569, allocations: 489.3 kB / 0.5747 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/0.3575, allocations: 75.89 kB / 0.5748 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.3598, allocations: 0.9292 MB / 0.5757 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.3624, allocations: 1.213 MB / 0.5769 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.3637, allocations: 0.5411 MB / 0.5774 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.3655, allocations: 0.7161 MB / 0.5781 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.366, allocations: 120 kB / 0.5782 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.3667, allocations: 120 kB / 0.5784 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.3681, allocations: 0.7477 MB / 0.5791 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.3699, allocations: 0.858 MB / 0.5799 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004282/0.3742, allocations: 2.332 MB / 0.5822 GB, free: 15.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3742, allocations: 0 / 0.5822 GB, free: 15.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.49e-06/0.3742, allocations: 3.984 kB / 0.5822 GB, free: 15.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001149/0.3743, allocations: 0 / 0.5822 GB, free: 15.45 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.005823/0.3801, allocations: 1.924 MB / 0.5841 GB, free: 13.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3802, allocations: 12.03 kB / 0.5841 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.3812, allocations: 219.4 kB / 0.5843 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.3831, allocations: 0.6664 MB / 0.585 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3832, allocations: 115.4 kB / 0.5851 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.3836, allocations: 156.1 kB / 0.5852 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006435/0.39, allocations: 3.383 MB / 0.5885 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.3901, allocations: 11.88 kB / 0.5885 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.3902, allocations: 75.94 kB / 0.5886 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001108/0.3913, allocations: 0.6148 MB / 0.5892 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004677/0.396, allocations: 1.858 MB / 0.591 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01967/0.4157, allocations: 13.44 MB / 0.6041 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.4158, allocations: 165.1 kB / 0.6043 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.4159, allocations: 84.14 kB / 0.6044 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.4159, allocations: 79.22 kB / 0.6045 GB, free: 7.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.076e-05/0.416, allocations: 113.8 kB / 0.6046 GB, free: 7.695 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.003e-06/0.416, allocations: 0 / 0.6046 GB, free: 7.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0004247/0.4164, allocations: 156.8 kB / 0.6047 GB, free: 7.535 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/0.4165, allocations: 126.7 kB / 0.6048 GB, free: 7.398 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.4198, allocations: 1.655 MB / 0.6064 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4198, allocations: 25.7 kB / 0.6065 GB, free: 5.703 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.4214, allocations: 1.416 MB / 0.6079 GB, free: 4.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.287e-05/0.4215, allocations: 47.95 kB / 0.6079 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006758/0.4221, allocations: 431.1 kB / 0.6083 GB, free: 3.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.4224, allocations: 353.9 kB / 0.6087 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008493/0.4232, allocations: 367.8 kB / 0.609 GB, free: 3.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.4259, allocations: 1.933 MB / 0.6109 GB, free: 336 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.4303, allocations: 2.507 MB / 0.6133 GB, free: 13.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.744e-05/0.4304, allocations: 19.94 kB / 0.6134 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.00526/0.4357, allocations: 2.131 MB / 0.6154 GB, free: 10.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.044e-05/0.4357, allocations: 28 kB / 0.6155 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.279e-05/0.4358, allocations: 56 kB / 0.6155 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/0.4359, allocations: 76 kB / 0.6156 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.4376, allocations: 483.1 kB / 0.6161 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001353/0.4377, allocations: 119.5 kB / 0.6162 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.4398, allocations: 325.5 kB / 0.6165 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.44, allocations: 140 kB / 0.6166 GB, free: 9.656 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.001505/0.4415, allocations: 0.8628 MB / 0.6175 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.4418, allocations: 232.1 kB / 0.6177 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.4421, allocations: 236.1 kB / 0.6179 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/0.4422, allocations: 180.3 kB / 0.6181 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.876e-05/0.4423, allocations: 188.2 kB / 0.6182 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.444e-05/0.4424, allocations: 180.3 kB / 0.6184 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4448, allocations: 1.445 MB / 0.6198 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-05/0.4448, allocations: 112.9 kB / 0.6199 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.4449, allocations: 105 kB / 0.62 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.445, allocations: 184.2 kB / 0.6202 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.4451, allocations: 176.3 kB / 0.6204 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001024/0.4452, allocations: 188.2 kB / 0.6206 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-05/0.4453, allocations: 184.2 kB / 0.6207 GB, free: 5.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.4457, allocations: 430 kB / 0.6211 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.4461, allocations: 228 kB / 0.6214 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.4463, allocations: 176.3 kB / 0.6215 GB, free: 4.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.4468, allocations: 108.9 kB / 0.6216 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4469, allocations: 184.2 kB / 0.6218 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/0.447, allocations: 104.9 kB / 0.6219 GB, free: 4.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002015/0.449, allocations: 1.014 MB / 0.6229 GB, free: 2.996 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.449, allocations: 0 / 0.6229 GB, free: 2.996 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002602/0.4516, allocations: 434.7 kB / 0.6233 GB, free: 2.57 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.0002136/0.4518, allocations: 170.5 kB / 0.6235 GB, free: 2.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.4537, allocations: 0.8644 MB / 0.6243 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4537, allocations: 384 / 0.6243 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.4537, allocations: 8 kB / 0.6243 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.4546, allocations: 0.5843 MB / 0.6249 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.4592, allocations: 2.997 MB / 0.6278 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.4606, allocations: 1.575 MB / 0.6294 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.4608, allocations: 91.44 kB / 0.6295 GB, free: 12.21 MB / 478.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4608, allocations: 0 / 0.6295 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Templates: time 0.02854/0.4893, allocations: 17.94 MB / 0.647 GB, free: 10.28 MB / 494.1 MB " [Timeout remaining time 660] 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/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_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: 8.606306770117953]