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.001645/0.001645, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001926/0.001926, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.443/1.443, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.1986/0.1986, allocations: 32.8 MB / 293.5 MB, free: 40 kB / 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.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 2.184e-06/2.184e-06, allocations: 3.938 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.809e-05, allocations: 2.281 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009777/0.009805, allocations: 7.664 MB / 447.7 MB, free: 488 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1856/0.1954, allocations: 2.186 MB / 449.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006814/0.1961, allocations: 45.34 kB / 450 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002854/0.199, allocations: 1.575 MB / 451.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009365/0.1999, allocations: 0.5006 MB / 452 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.2002, allocations: 70.27 kB / 452.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009363/0.2011, allocations: 0.9635 MB / 453.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.2024, allocations: 1.21 MB / 454.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000831/0.2032, allocations: 0.8058 MB / 455.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008506/0.204, allocations: 0.6172 MB / 455.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.2042, allocations: 117.7 kB / 455.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.2045, allocations: 136.4 kB / 456 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.2051, allocations: 0.7746 MB / 456.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.2055, allocations: 0.4917 MB / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.2077, allocations: 2.255 MB / 459.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2077, allocations: 0 / 459.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2077, allocations: 0 / 459.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.268e-05/0.2078, allocations: 1.406 kB / 459.5 MB, free: 12.45 MB / 366.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.002391/0.2102, allocations: 1.903 MB / 461.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2102, allocations: 8.719 kB / 461.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.2107, allocations: 222.8 kB / 461.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.2116, allocations: 0.6675 MB / 462.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.2116, allocations: 117.3 kB / 462.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.2118, allocations: 148.8 kB / 462.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.2156, allocations: 3.373 MB / 465.9 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.2156, allocations: 14.12 kB / 465.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.2157, allocations: 75.73 kB / 466 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006751/0.2164, allocations: 0.62 MB / 466.6 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.2189, allocations: 1.865 MB / 468.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008036/0.227, allocations: 12.36 MB / 480.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2271, allocations: 170.9 kB / 481 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.2271, allocations: 80.14 kB / 481.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2272, allocations: 75.28 kB / 481.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/0.2272, allocations: 112.7 kB / 481.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.2272, allocations: 0 / 481.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002088/0.2274, allocations: 145.8 kB / 481.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.2275, allocations: 130.6 kB / 481.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.2291, allocations: 1.434 MB / 483 MB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2291, allocations: 25.7 kB / 483 MB, free: 11.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009566/0.2301, allocations: 1.441 MB / 484.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.2301, allocations: 44.33 kB / 484.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.2306, allocations: 419.5 kB / 484.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2308, allocations: 333.5 kB / 485.2 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.2312, allocations: 372.6 kB / 485.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.2329, allocations: 1.928 MB / 487.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.2353, allocations: 2.508 MB / 490 MB, free: 4.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.2353, allocations: 18.62 kB / 490 MB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003004/0.2384, allocations: 2.1 MB / 492.1 MB, free: 2.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.2384, allocations: 28 kB / 492.2 MB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.365e-05/0.2385, allocations: 59.98 kB / 492.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.742e-05/0.2385, allocations: 76 kB / 492.3 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.2397, allocations: 487 kB / 492.8 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.863e-05/0.2398, allocations: 107.6 kB / 492.9 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.2411, allocations: 297.8 kB / 493.2 MB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.2413, allocations: 136.4 kB / 493.3 MB, free: 1.816 MB / 382.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.001258/0.2425, allocations: 0.8755 MB / 494.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.2427, allocations: 210.2 kB / 494.4 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.2429, allocations: 215.2 kB / 494.6 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.561e-05/0.243, allocations: 176.3 kB / 494.8 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/0.2431, allocations: 184.2 kB / 494.9 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002332/0.2433, allocations: 192.2 kB / 495.1 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.2447, allocations: 0.9733 MB / 496.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/0.2447, allocations: 104.9 kB / 496.2 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.2448, allocations: 105 kB / 496.3 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.2449, allocations: 176.3 kB / 496.5 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.74e-05/0.245, allocations: 184.9 kB / 496.7 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001101/0.2451, allocations: 184.5 kB / 496.8 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.323e-05/0.2452, allocations: 184.1 kB / 497 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.2456, allocations: 416.8 kB / 497.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.2458, allocations: 192.3 kB / 497.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.246, allocations: 177.1 kB / 497.8 MB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.2462, allocations: 116.9 kB / 497.9 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2463, allocations: 180.2 kB / 498.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/0.2464, allocations: 108.9 kB / 498.2 MB, free: 12.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.2475, allocations: 0.8007 MB / 499 MB, free: 11.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2475, allocations: 0 / 499 MB, free: 11.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001842/0.2494, allocations: 458.3 kB / 499.4 MB, free: 11.49 MB / 398.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.0002452/0.2496, allocations: 166.5 kB / 499.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.2509, allocations: 0.8763 MB / 0.4887 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2509, allocations: 0 / 0.4887 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.2509, allocations: 4 kB / 0.4887 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.2518, allocations: 0.5267 MB / 0.4893 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.2565, allocations: 2.769 MB / 0.492 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.2579, allocations: 1.005 MB / 0.4929 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.259, allocations: 457.7 kB / 0.4934 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2591, allocations: 68.44 kB / 0.4935 GB, free: 5.551 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2591, allocations: 0 / 0.4935 GB, free: 5.551 MB / 398.1 MB Notification: Performance of Templates: time 0.01636/0.2754, allocations: 6.038 MB / 0.4993 GB, free: 15.67 MB / 414.1 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=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: 4.891746774315834]