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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 117.5 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 194.8 kB / 21.44 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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.2246/0.2246, allocations: 44.92 MB / 349.6 MB, free: 1.711 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001962/0.001962, allocations: 72.92 kB / 492.3 MB, free: 29.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 64.26 MB / 0.5435 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.0112/0.1549, allocations: 8.764 MB / 0.5521 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006285/0.1612, allocations: 2.254 MB / 0.5543 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1623, allocations: 43.94 kB / 0.5543 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.1654, allocations: 1.55 MB / 0.5558 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.1666, allocations: 0.4895 MB / 0.5563 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1669, allocations: 79.84 kB / 0.5564 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.168, allocations: 0.9371 MB / 0.5573 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.1695, allocations: 1.287 MB / 0.5585 GB, free: 4.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.1701, allocations: 0.541 MB / 0.5591 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008909/0.171, allocations: 0.72 MB / 0.5598 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001716/0.1712, allocations: 116 kB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1715, allocations: 128 kB / 0.56 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006693/0.1721, allocations: 0.7556 MB / 0.5607 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.1729, allocations: 0.8697 MB / 0.5616 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.1752, allocations: 2.341 MB / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1753, allocations: 0 / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1753, allocations: 0 / 0.5639 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.933e-05/0.1753, allocations: 0 / 0.5639 GB, free: 14.58 MB / 430.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.003192/0.1785, allocations: 2.011 MB / 0.5658 GB, free: 12.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1785, allocations: 8.031 kB / 0.5659 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006312/0.1792, allocations: 227.4 kB / 0.5661 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.1804, allocations: 0.7306 MB / 0.5668 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1805, allocations: 115.4 kB / 0.5669 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.1807, allocations: 152.1 kB / 0.567 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/0.1852, allocations: 3.375 MB / 0.5703 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.1853, allocations: 19.81 kB / 0.5704 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.1854, allocations: 75.94 kB / 0.5704 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008202/0.1862, allocations: 0.6148 MB / 0.571 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.1895, allocations: 1.854 MB / 0.5728 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.2035, allocations: 13.52 MB / 0.586 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2036, allocations: 169.1 kB / 0.5862 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.2037, allocations: 80.14 kB / 0.5863 GB, free: 6.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.2037, allocations: 83.2 kB / 0.5864 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/0.2038, allocations: 113.8 kB / 0.5865 GB, free: 6.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.2038, allocations: 0 / 0.5865 GB, free: 6.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0003462/0.2041, allocations: 160.8 kB / 0.5866 GB, free: 6.402 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.2042, allocations: 126.7 kB / 0.5867 GB, free: 6.266 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.2064, allocations: 1.656 MB / 0.5884 GB, free: 4.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2064, allocations: 25.7 kB / 0.5884 GB, free: 4.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.2076, allocations: 1.42 MB / 0.5898 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.2076, allocations: 47.95 kB / 0.5898 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005238/0.2081, allocations: 423.2 kB / 0.5902 GB, free: 2.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2083, allocations: 357.9 kB / 0.5906 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.2089, allocations: 375.8 kB / 0.5909 GB, free: 1.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.2109, allocations: 1.929 MB / 0.5928 GB, free: 15.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.2137, allocations: 2.511 MB / 0.5953 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/0.2138, allocations: 16 kB / 0.5953 GB, free: 11.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003546/0.2173, allocations: 2.119 MB / 0.5973 GB, free: 9.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.2174, allocations: 32 kB / 0.5974 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.735e-05/0.2174, allocations: 56.91 kB / 0.5974 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.462e-05/0.2175, allocations: 72 kB / 0.5975 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.2188, allocations: 495 kB / 0.598 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.2189, allocations: 111.5 kB / 0.5981 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.2204, allocations: 329.5 kB / 0.5984 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.2205, allocations: 140 kB / 0.5985 GB, free: 8.527 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.001285/0.2218, allocations: 0.8628 MB / 0.5994 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.2221, allocations: 236.1 kB / 0.5996 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.2223, allocations: 232.5 kB / 0.5998 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.853e-05/0.2224, allocations: 176.3 kB / 0.6 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.961e-05/0.2224, allocations: 192.1 kB / 0.6002 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-05/0.2225, allocations: 180.2 kB / 0.6003 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.2243, allocations: 1.481 MB / 0.6018 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.068e-05/0.2244, allocations: 108.9 kB / 0.6019 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.2244, allocations: 109 kB / 0.602 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-05/0.2245, allocations: 180.2 kB / 0.6022 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.2246, allocations: 176.3 kB / 0.6023 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.2247, allocations: 180.3 kB / 0.6025 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-05/0.2248, allocations: 188.2 kB / 0.6027 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.225, allocations: 430.1 kB / 0.6031 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.2253, allocations: 309.1 kB / 0.6034 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.2255, allocations: 176.3 kB / 0.6035 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.2258, allocations: 108.9 kB / 0.6037 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.2259, allocations: 180.3 kB / 0.6038 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.226, allocations: 108.9 kB / 0.6039 GB, free: 2.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001308/0.2273, allocations: 1.018 MB / 0.6049 GB, free: 1.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2273, allocations: 0 / 0.6049 GB, free: 1.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001725/0.229, allocations: 430.7 kB / 0.6053 GB, free: 1.312 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.0002384/0.2293, allocations: 174.5 kB / 0.6055 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.2306, allocations: 0.8671 MB / 0.6063 GB, free: 284 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.984e-06/0.2306, allocations: 0 / 0.6063 GB, free: 284 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-06/0.2306, allocations: 1.688 kB / 0.6063 GB, free: 284 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3091/0.5397, allocations: 0.576 MB / 0.6069 GB, free: 60.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.545, allocations: 2.824 MB / 0.6097 GB, free: 59.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.5466, allocations: 1.581 MB / 0.6112 GB, free: 58.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.548, allocations: 494.8 kB / 0.6117 GB, free: 58.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.5482, allocations: 75 kB / 0.6118 GB, free: 58.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5482, allocations: 1.094 kB / 0.6118 GB, free: 58.38 MB / 462.1 MB Notification: Performance of Templates: time 0.02622/0.5744, allocations: 8.999 MB / 0.6205 GB, free: 56.65 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.668791308999062]