Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0009983/0.0009983, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.00112/0.00112, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 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 0.9796/0.9796, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2906/0.2906, allocations: 34.87 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.517e-05, allocations: 2.312 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006467/0.006482, allocations: 8.229 MB / 387.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.01003, allocations: 2.234 MB / 389.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.0105, allocations: 47.88 kB / 389.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.01216, allocations: 1.631 MB / 391.3 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.01275, allocations: 0.4929 MB / 391.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.01293, allocations: 71.77 kB / 391.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006475/0.01357, allocations: 0.9639 MB / 392.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008645/0.01444, allocations: 1.225 MB / 394.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005615/0.015, allocations: 0.8028 MB / 394.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008906/0.01589, allocations: 0.6466 MB / 395.5 MB, free: 1.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.016, allocations: 116 kB / 395.7 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.01618, allocations: 135.9 kB / 395.8 MB, free: 1.164 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003848/0.01657, allocations: 0.7713 MB / 396.6 MB, free: 400 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.0169, allocations: 0.4906 MB / 397.1 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009194/0.01782, allocations: 1.431 MB / 398.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01782, allocations: 0 / 398.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01782, allocations: 0 / 398.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.01784, allocations: 0 / 398.5 MB, free: 14.46 MB / 378.7 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.001517/0.01936, allocations: 2.106 MB / 400.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.0194, allocations: 8.031 kB / 400.6 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.01974, allocations: 347.4 kB / 400.9 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.02025, allocations: 0.6058 MB / 401.5 MB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.02031, allocations: 119.4 kB / 401.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.773e-05/0.02041, allocations: 148.3 kB / 401.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.02213, allocations: 2.104 MB / 403.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.02216, allocations: 19.81 kB / 403.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.02223, allocations: 75.94 kB / 404 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004151/0.02264, allocations: 0.6189 MB / 404.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.02331, allocations: 0.6897 MB / 405.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007021/0.03033, allocations: 16.48 MB / 421.8 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.457e-05/0.03041, allocations: 265.4 kB / 422.1 MB, free: 5.82 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.03043, allocations: 130.9 kB / 422.2 MB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.03046, allocations: 123.2 kB / 422.3 MB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.0305, allocations: 160.5 kB / 422.5 MB, free: 5.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.03051, allocations: 0 / 422.5 MB, free: 5.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001276/0.03063, allocations: 137 kB / 422.6 MB, free: 5.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.03069, allocations: 174.5 kB / 422.8 MB, free: 5.074 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/0.03156, allocations: 1.353 MB / 424.1 MB, free: 3.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.03157, allocations: 29.7 kB / 424.1 MB, free: 3.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.03248, allocations: 1.52 MB / 425.7 MB, free: 2.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.03251, allocations: 43.95 kB / 425.7 MB, free: 2.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.03279, allocations: 456.6 kB / 426.1 MB, free: 1.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.03292, allocations: 0.5198 MB / 426.7 MB, free: 1.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.03303, allocations: 128 kB / 426.8 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.03413, allocations: 2.452 MB / 429.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.03595, allocations: 2.874 MB / 432.1 MB, free: 9.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.03596, allocations: 23.98 kB / 432.1 MB, free: 9.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001388/0.03735, allocations: 1.706 MB / 433.8 MB, free: 7.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.03738, allocations: 28 kB / 433.9 MB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/0.03742, allocations: 56 kB / 433.9 MB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.69e-05/0.03746, allocations: 79.98 kB / 434 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.03805, allocations: 487 kB / 434.5 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.853e-05/0.0381, allocations: 111.5 kB / 434.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.03872, allocations: 301.8 kB / 434.9 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.0388, allocations: 120 kB / 435 MB, free: 6.547 MB / 410.7 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 (fixed.color[1],fixed.color[2],fixed.color[3],box.color[1],box.color[2],box.color[3],sphere.color[1],sphere.color[2],sphere.color[3],cylinder.color[1],cylinder.color[2],cylinder.color[3],pipe.color[1],pipe.color[2],pipe.color[3],beam.color[1],beam.color[2],beam.color[3],gearwheel.color[1],gearwheel.color[2],gearwheel.color[3],spring.color[1],spring.color[2],spring.color[3],cone.color[1],cone.color[2],cone.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.0002995/0.0391, allocations: 490.5 kB / 435.5 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.03919, allocations: 260.1 kB / 435.7 MB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.0393, allocations: 230.2 kB / 436 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/0.03935, allocations: 268 kB / 436.2 MB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/0.03941, allocations: 276 kB / 436.5 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003471/0.03976, allocations: 264.1 kB / 436.8 MB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/0.04036, allocations: 0.971 MB / 437.7 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/0.04039, allocations: 144.9 kB / 437.9 MB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.04042, allocations: 156.8 kB / 438 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/0.04048, allocations: 268.1 kB / 438.3 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.04054, allocations: 264.1 kB / 438.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-05/0.0406, allocations: 272 kB / 438.8 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.828e-05/0.04065, allocations: 268.1 kB / 439.1 MB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.04082, allocations: 0.541 MB / 439.6 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.04093, allocations: 232.2 kB / 439.8 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.04102, allocations: 272 kB / 440.1 MB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.04115, allocations: 144.9 kB / 440.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.04122, allocations: 276 kB / 440.5 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.04126, allocations: 152.9 kB / 440.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005574/0.04181, allocations: 0.5779 MB / 441.2 MB, free: 116 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.04181, allocations: 0 / 441.2 MB, free: 116 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001545/0.04336, allocations: 458.4 kB / 441.7 MB, free: 15.66 MB / 426.7 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.0001538/0.04351, allocations: 222.3 kB / 441.9 MB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008419/0.04435, allocations: 0.7297 MB / 442.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.04436, allocations: 4 kB / 442.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.04436, allocations: 496 / 442.6 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.04506, allocations: 0.7967 MB / 443.4 MB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.04873, allocations: 2.591 MB / 446 MB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.04919, allocations: 459.5 kB / 446.5 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.04967, allocations: 158.2 kB / 446.6 MB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.04986, allocations: 194.2 kB / 446.8 MB, free: 10.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.04987, allocations: 0 / 446.8 MB, free: 10.44 MB / 426.7 MB Notification: Performance of Templates: time 0.0166/0.06647, allocations: 6.5 MB / 453.3 MB, free: 3.984 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4093117089942098]