Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001287/0.001287, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.00104/0.00104, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.024/1.024, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 32.8 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.664e-05, allocations: 9.344 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.007727/0.007754, allocations: 8.415 MB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.01063, allocations: 2.254 MB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.01097, allocations: 47.88 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.01319, allocations: 1.655 MB / 388.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.01696, allocations: 0.5046 MB / 388.9 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.01717, allocations: 71.77 kB / 389 MB, free: 7.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008323/0.01801, allocations: 0.9523 MB / 389.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.01917, allocations: 1.229 MB / 391.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.0229, allocations: 0.8106 MB / 391.9 MB, free: 4.656 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.02364, allocations: 0.6388 MB / 392.6 MB, free: 4.016 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.02379, allocations: 120 kB / 392.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.02402, allocations: 139.9 kB / 392.8 MB, free: 3.762 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005727/0.0246, allocations: 0.7791 MB / 393.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.02504, allocations: 0.4906 MB / 394.1 MB, free: 2.488 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.02949, allocations: 1.427 MB / 395.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02949, allocations: 0 / 395.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02949, allocations: 0 / 395.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.02951, allocations: 0 / 395.5 MB, free: 1.055 MB / 362.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.005187/0.03469, allocations: 2.09 MB / 397.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.03474, allocations: 12.03 kB / 397.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006619/0.0354, allocations: 351.3 kB / 398 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.03621, allocations: 0.6372 MB / 398.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.219e-05/0.03629, allocations: 115.4 kB / 398.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.03645, allocations: 148.3 kB / 398.9 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005491/0.04194, allocations: 2.233 MB / 401.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.04198, allocations: 27.75 kB / 401.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.04208, allocations: 71.94 kB / 401.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005964/0.04267, allocations: 0.615 MB / 401.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.04706, allocations: 0.8125 MB / 402.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01807/0.06513, allocations: 16.82 MB / 419.5 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.216e-05/0.06522, allocations: 265.4 kB / 419.7 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.06526, allocations: 126.9 kB / 419.8 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.06529, allocations: 119.2 kB / 420 MB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.06534, allocations: 152.6 kB / 420.1 MB, free: 7.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.06534, allocations: 0 / 420.1 MB, free: 7.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001571/0.06549, allocations: 148.8 kB / 420.2 MB, free: 7.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.06555, allocations: 174.6 kB / 420.4 MB, free: 7.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.06681, allocations: 1.357 MB / 421.8 MB, free: 5.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.06682, allocations: 25.7 kB / 421.8 MB, free: 5.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003137/0.06995, allocations: 1.508 MB / 423.3 MB, free: 4.121 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.06999, allocations: 43.95 kB / 423.3 MB, free: 4.078 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002408/0.0724, allocations: 452.8 kB / 423.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.07255, allocations: 0.5043 MB / 424.3 MB, free: 3.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.07281, allocations: 164 kB / 424.5 MB, free: 2.949 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.07578, allocations: 2.464 MB / 426.9 MB, free: 15.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.07792, allocations: 2.905 MB / 429.8 MB, free: 11.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/0.07793, allocations: 16 kB / 429.8 MB, free: 11.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001645/0.07958, allocations: 1.81 MB / 431.7 MB, free: 9.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.07961, allocations: 33.56 kB / 431.7 MB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.07965, allocations: 56 kB / 431.7 MB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-05/0.0797, allocations: 76.72 kB / 431.8 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.08035, allocations: 491 kB / 432.3 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.201e-05/0.0804, allocations: 111.6 kB / 432.4 MB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.08111, allocations: 297.8 kB / 432.7 MB, free: 8.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/0.08119, allocations: 140 kB / 432.8 MB, free: 8.355 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.0003348/0.08153, allocations: 486.4 kB / 433.3 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.08163, allocations: 260.1 kB / 433.6 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.08174, allocations: 234.2 kB / 433.8 MB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-05/0.0818, allocations: 276 kB / 434.1 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.219e-05/0.08186, allocations: 280 kB / 434.3 MB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.553e-05/0.08191, allocations: 264.1 kB / 434.6 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.08319, allocations: 1.293 MB / 435.9 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-05/0.08323, allocations: 148.9 kB / 436 MB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.08326, allocations: 144.9 kB / 436.2 MB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-05/0.08332, allocations: 276 kB / 436.4 MB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.08338, allocations: 264.1 kB / 436.7 MB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.889e-05/0.08344, allocations: 268 kB / 437 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.919e-05/0.0835, allocations: 276 kB / 437.2 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.08368, allocations: 0.5411 MB / 437.8 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.08378, allocations: 236.2 kB / 438 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.08388, allocations: 272 kB / 438.3 MB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.08402, allocations: 144.9 kB / 438.4 MB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.08408, allocations: 272 kB / 438.7 MB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.08411, allocations: 148.9 kB / 438.8 MB, free: 2.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004888/0.0846, allocations: 0.6172 MB / 439.4 MB, free: 1.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0846, allocations: 0 / 439.4 MB, free: 1.539 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009601/0.08556, allocations: 458.4 kB / 439.9 MB, free: 1.09 MB / 410.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.0001489/0.08571, allocations: 222.4 kB / 440.1 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.0864, allocations: 0.76 MB / 440.9 MB, free: 108 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.0864, allocations: 0 / 440.9 MB, free: 108 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/0.08641, allocations: 3.938 kB / 440.9 MB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.08698, allocations: 0.7902 MB / 441.7 MB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.08962, allocations: 2.595 MB / 444.2 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.09, allocations: 463.5 kB / 444.7 MB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005609/0.09056, allocations: 421.7 kB / 445.1 MB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.09063, allocations: 68.5 kB / 445.2 MB, free: 11.7 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.09063, allocations: 0 / 445.2 MB, free: 11.7 MB / 426.7 MB Notification: Performance of Templates: time 0.01062/0.1012, allocations: 6.046 MB / 451.2 MB, free: 5.785 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5073292800225317]