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.001747/0.001747, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002172/0.002172, allocations: 214.1 kB / 24.48 MB, free: 3.957 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.591/1.591, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2444/0.2444, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002291/0.002291, allocations: 63.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4548, allocations: 66.04 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0114/0.4662, allocations: 7.662 MB / 0.5693 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.4719, allocations: 2.188 MB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.473, allocations: 47.88 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.4762, allocations: 1.491 MB / 0.573 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.4776, allocations: 493.3 kB / 0.5734 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.4779, allocations: 71.84 kB / 0.5735 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001424/0.4794, allocations: 0.9216 MB / 0.5744 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.4809, allocations: 1.208 MB / 0.5756 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008821/0.4818, allocations: 0.5489 MB / 0.5761 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.483, allocations: 0.7161 MB / 0.5768 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.4832, allocations: 116 kB / 0.5769 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003533/0.4836, allocations: 123.9 kB / 0.577 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008887/0.4845, allocations: 0.7478 MB / 0.5778 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.4853, allocations: 0.6445 MB / 0.5784 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.4882, allocations: 2.352 MB / 0.5807 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4882, allocations: 0 / 0.5807 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4882, allocations: 3.938 kB / 0.5807 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.269e-05/0.4882, allocations: 4 kB / 0.5807 GB, free: 0.75 MB / 414.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.002944/0.4912, allocations: 1.912 MB / 0.5826 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.4912, allocations: 12.02 kB / 0.5826 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.4919, allocations: 223.4 kB / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.4932, allocations: 0.6741 MB / 0.5835 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.4933, allocations: 119.4 kB / 0.5836 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.4935, allocations: 152.1 kB / 0.5837 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004367/0.4978, allocations: 3.379 MB / 0.587 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.4979, allocations: 15.81 kB / 0.587 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.498, allocations: 79.92 kB / 0.5871 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007625/0.4988, allocations: 0.6071 MB / 0.5877 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/0.5019, allocations: 1.858 MB / 0.5895 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/0.5158, allocations: 12.42 MB / 0.6016 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.516, allocations: 165.1 kB / 0.6018 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.516, allocations: 80.14 kB / 0.6019 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.516, allocations: 79.22 kB / 0.6019 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.025e-05/0.5161, allocations: 117.8 kB / 0.6021 GB, free: 10.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.324e-06/0.5161, allocations: 0 / 0.6021 GB, free: 10.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002692/0.5164, allocations: 132.9 kB / 0.6022 GB, free: 9.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.5165, allocations: 130.7 kB / 0.6023 GB, free: 9.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.5183, allocations: 1.434 MB / 0.6037 GB, free: 8.305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5183, allocations: 29.7 kB / 0.6037 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.5193, allocations: 1.447 MB / 0.6052 GB, free: 6.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.5194, allocations: 43.95 kB / 0.6052 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/0.5199, allocations: 423.2 kB / 0.6056 GB, free: 6.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.52, allocations: 337.9 kB / 0.6059 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.5206, allocations: 371.8 kB / 0.6063 GB, free: 5.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.5225, allocations: 1.929 MB / 0.6082 GB, free: 2.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002833/0.5253, allocations: 2.508 MB / 0.6106 GB, free: 15.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/0.5253, allocations: 20 kB / 0.6106 GB, free: 15.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003434/0.5288, allocations: 2.1 MB / 0.6127 GB, free: 13.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.5288, allocations: 31.94 kB / 0.6127 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-05/0.5289, allocations: 56 kB / 0.6128 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.711e-05/0.529, allocations: 79.94 kB / 0.6128 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.5302, allocations: 487 kB / 0.6133 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001/0.5303, allocations: 111.6 kB / 0.6134 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.5318, allocations: 302.2 kB / 0.6137 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.5319, allocations: 144 kB / 0.6138 GB, free: 12.27 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.001227/0.5331, allocations: 0.8589 MB / 0.6147 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.5334, allocations: 220.1 kB / 0.6149 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.5336, allocations: 206.1 kB / 0.6151 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.769e-05/0.5336, allocations: 180.3 kB / 0.6153 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-05/0.5337, allocations: 184.2 kB / 0.6154 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.63e-05/0.5338, allocations: 188.2 kB / 0.6156 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.5351, allocations: 0.9733 MB / 0.6166 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.804e-05/0.5351, allocations: 109 kB / 0.6167 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.5352, allocations: 101 kB / 0.6168 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.642e-05/0.5353, allocations: 184.2 kB / 0.6169 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.483e-05/0.5353, allocations: 188.2 kB / 0.6171 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.481e-05/0.5354, allocations: 180.2 kB / 0.6173 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-05/0.5355, allocations: 176.3 kB / 0.6175 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.5358, allocations: 416.8 kB / 0.6179 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.5361, allocations: 184.3 kB / 0.618 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.5362, allocations: 192.1 kB / 0.6182 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.5365, allocations: 113 kB / 0.6183 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.5366, allocations: 180.2 kB / 0.6185 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.5367, allocations: 101 kB / 0.6186 GB, free: 7.203 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.5377, allocations: 0.8007 MB / 0.6194 GB, free: 6.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5377, allocations: 0 / 0.6194 GB, free: 6.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001871/0.5396, allocations: 462.3 kB / 0.6198 GB, free: 5.945 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.0001969/0.5398, allocations: 166.5 kB / 0.62 GB, free: 5.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.5412, allocations: 0.8762 MB / 0.6208 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5412, allocations: 0 / 0.6208 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.343e-06/0.5412, allocations: 3.938 kB / 0.6208 GB, free: 4.906 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.542, allocations: 0.5319 MB / 0.6213 GB, free: 4.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.547, allocations: 2.989 MB / 0.6243 GB, free: 1.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.5483, allocations: 0.996 MB / 0.6252 GB, free: 308 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.5485, allocations: 79.44 kB / 0.6253 GB, free: 228 kB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5485, allocations: 0 / 0.6253 GB, free: 228 kB / 462.1 MB Notification: Performance of Templates: time 0.03185/0.5803, allocations: 17.25 MB / 0.6422 GB, free: 14.97 MB / 494.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/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: 9.191382441000314]