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.00101/0.00101, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001086/0.001086, allocations: 168.3 kB / 25.61 MB, free: 8.602 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 0.9715/0.9715, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.1436/0.1436, allocations: 34.25 MB / 296.8 MB, free: 13.89 MB / 282.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 2.464e-06/2.464e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.57e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.005391/0.005407, allocations: 8.216 MB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.008622, allocations: 2.229 MB / 389.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.009153, allocations: 47.88 kB / 389.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.01064, allocations: 1.627 MB / 391.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005597/0.0112, allocations: 0.5007 MB / 391.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.01138, allocations: 71.83 kB / 392 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005459/0.01193, allocations: 0.9522 MB / 392.9 MB, free: 9.691 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007126/0.01264, allocations: 1.233 MB / 394.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.01312, allocations: 0.8106 MB / 395 MB, free: 7.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.01361, allocations: 0.6387 MB / 395.6 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.365e-05/0.01371, allocations: 116 kB / 395.7 MB, free: 6.863 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.01387, allocations: 136 kB / 395.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.01419, allocations: 0.779 MB / 396.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01444, allocations: 498.3 kB / 397.1 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.01519, allocations: 1.427 MB / 398.5 MB, free: 4.027 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.197e-06/0.01519, allocations: 0 / 398.5 MB, free: 4.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01519, allocations: 4 kB / 398.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.01522, allocations: 0 / 398.5 MB, free: 4.023 MB / 314.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.001289/0.01651, allocations: 2.106 MB / 400.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.01654, allocations: 12.03 kB / 400.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.01686, allocations: 343.4 kB / 401 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.01732, allocations: 0.5981 MB / 401.6 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.01737, allocations: 119.4 kB / 401.7 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.01745, allocations: 148.3 kB / 401.9 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.01901, allocations: 2.111 MB / 404 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.01904, allocations: 15.81 kB / 404 MB, free: 14.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.01912, allocations: 75.94 kB / 404.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/0.01956, allocations: 0.615 MB / 404.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.02032, allocations: 0.6896 MB / 405.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007518/0.02784, allocations: 16.49 MB / 421.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.02793, allocations: 261.4 kB / 422.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.02798, allocations: 126.9 kB / 422.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.02801, allocations: 123.2 kB / 422.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.02807, allocations: 160.5 kB / 422.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.02807, allocations: 0 / 422.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001335/0.0282, allocations: 133 kB / 422.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.02827, allocations: 174.5 kB / 422.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.02924, allocations: 1.357 MB / 424.2 MB, free: 9.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.02925, allocations: 25.7 kB / 424.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007325/0.02998, allocations: 1.523 MB / 425.7 MB, free: 7.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.03001, allocations: 47.95 kB / 425.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.0303, allocations: 456.7 kB / 426.2 MB, free: 7.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.03043, allocations: 0.5042 MB / 426.7 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.03056, allocations: 128 kB / 426.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.03183, allocations: 2.456 MB / 429.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.03358, allocations: 2.87 MB / 432.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.0336, allocations: 20 kB / 432.2 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001641/0.03524, allocations: 1.717 MB / 433.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.03527, allocations: 28 kB / 433.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/0.0353, allocations: 56 kB / 434 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/0.03535, allocations: 76 kB / 434.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.03596, allocations: 491 kB / 434.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.867e-05/0.03601, allocations: 111.5 kB / 434.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.03667, allocations: 293.9 kB / 434.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.856e-05/0.03675, allocations: 123.9 kB / 435.1 MB, free: 12.12 MB / 362.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.0003259/0.03708, allocations: 490.7 kB / 435.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.03718, allocations: 256.1 kB / 435.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.03759, allocations: 230.2 kB / 436 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.729e-05/0.03765, allocations: 276 kB / 436.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.172e-05/0.03773, allocations: 276 kB / 436.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/0.03779, allocations: 268.1 kB / 436.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.03847, allocations: 0.971 MB / 437.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/0.03851, allocations: 144.9 kB / 437.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.03855, allocations: 156.8 kB / 438.1 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.294e-05/0.03861, allocations: 264.1 kB / 438.3 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.03867, allocations: 264.1 kB / 438.6 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-05/0.03874, allocations: 272 kB / 438.9 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-05/0.0388, allocations: 264.1 kB / 439.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.03898, allocations: 0.5527 MB / 439.7 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.03908, allocations: 228.2 kB / 439.9 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.593e-05/0.03918, allocations: 276 kB / 440.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.03932, allocations: 148.9 kB / 440.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.03938, allocations: 272 kB / 440.6 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.0394, allocations: 144.9 kB / 440.7 MB, free: 6.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003792/0.03978, allocations: 0.5779 MB / 441.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03978, allocations: 0 / 441.3 MB, free: 5.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009652/0.04075, allocations: 462.3 kB / 441.7 MB, free: 5.227 MB / 362.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.000186/0.04094, allocations: 210.4 kB / 441.9 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008878/0.04182, allocations: 0.7415 MB / 442.7 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04183, allocations: 0 / 442.7 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.04183, allocations: 0 / 442.7 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009202/0.04275, allocations: 0.7881 MB / 443.5 MB, free: 3.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.04554, allocations: 2.602 MB / 446.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.04606, allocations: 463.5 kB / 446.5 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.04645, allocations: 154.2 kB / 446.7 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.04661, allocations: 198.2 kB / 446.9 MB, free: 4 kB / 362.7 MB Notification: Performance of SimCode: time 2.414e-06/0.04661, allocations: 0 / 446.9 MB, free: 4 kB / 362.7 MB Notification: Performance of Templates: time 0.01364/0.06026, allocations: 6.627 MB / 453.5 MB, free: 9.516 MB / 378.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.3216258948668838]