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.001351/0.001351, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.00171/0.00171, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2791/0.2791, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 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 3.196e-06/3.196e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.92e-05, allocations: 2.312 kB / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006784/0.006823, allocations: 8.395 MB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.00997, allocations: 2.254 MB / 388.7 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004816/0.01045, allocations: 47.88 kB / 388.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.01237, allocations: 1.643 MB / 390.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.01303, allocations: 0.5046 MB / 390.8 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.01326, allocations: 71.78 kB / 390.9 MB, free: 6.035 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008036/0.01406, allocations: 0.9561 MB / 391.9 MB, free: 5.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009518/0.01502, allocations: 1.229 MB / 393.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.01564, allocations: 0.8028 MB / 393.9 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006148/0.01625, allocations: 0.6427 MB / 394.5 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01636, allocations: 124 kB / 394.7 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.01654, allocations: 139.9 kB / 394.8 MB, free: 2.113 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.01699, allocations: 0.7752 MB / 395.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.01737, allocations: 494.4 kB / 396.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.01849, allocations: 1.439 MB / 397.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01849, allocations: 0 / 397.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01849, allocations: 0 / 397.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/0.01852, allocations: 0 / 397.5 MB, free: 15.4 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.001716/0.02024, allocations: 2.083 MB / 399.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.02027, allocations: 8.031 kB / 399.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.02067, allocations: 347.4 kB / 399.9 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.0213, allocations: 0.645 MB / 400.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.02136, allocations: 119.3 kB / 400.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.02147, allocations: 148.3 kB / 400.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.02325, allocations: 2.225 MB / 403.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.02328, allocations: 23.75 kB / 403.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.02336, allocations: 71.94 kB / 403.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004675/0.02383, allocations: 0.6267 MB / 403.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.02501, allocations: 0.8125 MB / 404.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.0326, allocations: 16.82 MB / 421.4 MB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.03272, allocations: 265.4 kB / 421.7 MB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.03276, allocations: 126.9 kB / 421.8 MB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.0328, allocations: 123.1 kB / 421.9 MB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.826e-05/0.03287, allocations: 160.6 kB / 422.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.03287, allocations: 0 / 422.1 MB, free: 5.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001524/0.03302, allocations: 144.8 kB / 422.2 MB, free: 5.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.03308, allocations: 170.6 kB / 422.4 MB, free: 5.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.0342, allocations: 1.361 MB / 423.7 MB, free: 4.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.03421, allocations: 25.7 kB / 423.8 MB, free: 3.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.03487, allocations: 1.5 MB / 425.3 MB, free: 2.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.03491, allocations: 51.94 kB / 425.3 MB, free: 2.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003251/0.03524, allocations: 448.8 kB / 425.8 MB, free: 1.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.03539, allocations: 0.5043 MB / 426.3 MB, free: 1.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.03561, allocations: 163.9 kB / 426.4 MB, free: 1.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.03688, allocations: 2.467 MB / 428.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.03871, allocations: 2.902 MB / 431.8 MB, free: 9.715 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.03873, allocations: 16 kB / 431.8 MB, free: 9.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001945/0.04068, allocations: 1.807 MB / 433.6 MB, free: 7.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.04071, allocations: 32 kB / 433.6 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.04074, allocations: 56 kB / 433.7 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.149e-05/0.0408, allocations: 75.94 kB / 433.8 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.04148, allocations: 491 kB / 434.3 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.82e-05/0.04155, allocations: 112.1 kB / 434.4 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007445/0.04229, allocations: 297.8 kB / 434.7 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.04239, allocations: 140 kB / 434.8 MB, free: 6.707 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 (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.0003347/0.04273, allocations: 482.4 kB / 435.3 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.04284, allocations: 264.1 kB / 435.5 MB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.04295, allocations: 234.2 kB / 435.8 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.02e-05/0.04302, allocations: 280 kB / 436 MB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/0.04308, allocations: 276 kB / 436.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-05/0.04314, allocations: 264.1 kB / 436.6 MB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.04411, allocations: 1.297 MB / 437.8 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/0.04414, allocations: 144.9 kB / 438 MB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.04418, allocations: 148.9 kB / 438.1 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.096e-05/0.04425, allocations: 268 kB / 438.4 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.04431, allocations: 268.1 kB / 438.7 MB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.274e-05/0.04437, allocations: 272 kB / 438.9 MB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/0.04443, allocations: 272 kB / 439.2 MB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.04463, allocations: 0.5333 MB / 439.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.04474, allocations: 236.2 kB / 440 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.04485, allocations: 276 kB / 440.2 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.045, allocations: 148.9 kB / 440.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.04506, allocations: 276 kB / 440.6 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.04509, allocations: 148.9 kB / 440.8 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005219/0.04562, allocations: 0.6249 MB / 441.4 MB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.04562, allocations: 0 / 441.4 MB, free: 15.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009737/0.04659, allocations: 454.4 kB / 441.9 MB, free: 15.43 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.0001689/0.04676, allocations: 210.4 kB / 442.1 MB, free: 15.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006991/0.04746, allocations: 0.7684 MB / 442.8 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04746, allocations: 0 / 442.8 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.04746, allocations: 3.938 kB / 442.8 MB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.04801, allocations: 0.7907 MB / 443.6 MB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.05054, allocations: 2.595 MB / 446.2 MB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.05087, allocations: 463.5 kB / 446.7 MB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005788/0.05145, allocations: 417.7 kB / 447.1 MB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.05153, allocations: 64.5 kB / 447.1 MB, free: 10.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.05153, allocations: 4 kB / 447.1 MB, free: 10.05 MB / 426.7 MB Notification: Performance of Templates: time 0.01067/0.0622, allocations: 6.045 MB / 453.2 MB, free: 4.141 MB / 426.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] 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","",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.5208610331173986]