Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 89.14 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.592e-06/1.592e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.607e-05, allocations: 6.219 kB / 442.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.1967/0.1967, allocations: 7.656 MB / 450.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.2009, allocations: 2.198 MB / 452.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.2015, allocations: 45 kB / 452.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.2044, allocations: 1.582 MB / 454.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009249/0.2053, allocations: 0.4953 MB / 454.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.2056, allocations: 72.12 kB / 454.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.2067, allocations: 0.9554 MB / 455.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.2083, allocations: 1.214 MB / 456.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.2094, allocations: 0.7998 MB / 457.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.2105, allocations: 0.6183 MB / 458.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.2108, allocations: 119.2 kB / 458.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.2112, allocations: 140 kB / 458.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008143/0.212, allocations: 0.774 MB / 459.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005952/0.2126, allocations: 0.4911 MB / 459.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002904/0.2155, allocations: 2.25 MB / 462 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2155, allocations: 5.344 kB / 462.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2155, allocations: 0 / 462.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.124e-05/0.2156, allocations: 0 / 462.1 MB, free: 10.3 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.00342/0.219, allocations: 1.899 MB / 464 MB, free: 9.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.219, allocations: 9.875 kB / 464 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.2196, allocations: 223.6 kB / 464.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.2206, allocations: 0.6702 MB / 464.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/0.2207, allocations: 117.9 kB / 465 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.2209, allocations: 148.8 kB / 465.1 MB, free: 8.395 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.2247, allocations: 3.375 MB / 468.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.2248, allocations: 18.25 kB / 468.5 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.2249, allocations: 78.27 kB / 468.6 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007622/0.2257, allocations: 0.6161 MB / 469.2 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.2286, allocations: 1.861 MB / 471.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.2392, allocations: 12.35 MB / 483.4 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.2394, allocations: 170.4 kB / 483.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.2394, allocations: 81.48 kB / 483.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.2395, allocations: 75.28 kB / 483.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.2395, allocations: 114.7 kB / 483.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.2395, allocations: 0 / 483.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002489/0.2398, allocations: 139 kB / 484 MB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.2399, allocations: 131.8 kB / 484.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.2416, allocations: 1.442 MB / 485.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2416, allocations: 25.7 kB / 485.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.2427, allocations: 1.433 MB / 487 MB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.2427, allocations: 46.7 kB / 487.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.2432, allocations: 424.6 kB / 487.5 MB, free: 7.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2434, allocations: 333.2 kB / 487.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.2439, allocations: 367.7 kB / 488.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.2459, allocations: 1.935 MB / 490.1 MB, free: 4.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.2488, allocations: 2.505 MB / 492.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.46e-05/0.2488, allocations: 18.06 kB / 492.6 MB, free: 1.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003491/0.2523, allocations: 2.1 MB / 494.7 MB, free: 15.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.2524, allocations: 32 kB / 494.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-05/0.2524, allocations: 56 kB / 494.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.2525, allocations: 72 kB / 494.9 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.2538, allocations: 498.9 kB / 495.4 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000112/0.2539, allocations: 107.6 kB / 495.5 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.2555, allocations: 297.8 kB / 495.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.2556, allocations: 136 kB / 495.9 MB, free: 14.17 MB / 398.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.001483/0.2571, allocations: 0.863 MB / 496.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.2574, allocations: 220.1 kB / 497 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.2575, allocations: 206.3 kB / 497.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.428e-05/0.2576, allocations: 176.3 kB / 497.3 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.562e-05/0.2577, allocations: 192.1 kB / 497.5 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.838e-05/0.2578, allocations: 180.3 kB / 497.7 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.2591, allocations: 0.9799 MB / 498.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.798e-05/0.2592, allocations: 109 kB / 498.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.2592, allocations: 101 kB / 498.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.67e-05/0.2593, allocations: 184.2 kB / 499.1 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.648e-05/0.2594, allocations: 177.1 kB / 499.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.96e-05/0.2595, allocations: 180.4 kB / 499.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.542e-05/0.2596, allocations: 188.3 kB / 499.6 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.2599, allocations: 416.8 kB / 0.4883 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.2601, allocations: 192.3 kB / 0.4885 GB, free: 9.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.2603, allocations: 184.2 kB / 0.4886 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.2606, allocations: 101.9 kB / 0.4887 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2607, allocations: 192.1 kB / 0.4889 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.2607, allocations: 101 kB / 0.489 GB, free: 9.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.2619, allocations: 0.8007 MB / 0.4898 GB, free: 8.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2619, allocations: 0 / 0.4898 GB, free: 8.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001872/0.2638, allocations: 462.3 kB / 0.4902 GB, free: 7.852 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.000185/0.264, allocations: 170.5 kB / 0.4904 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.2654, allocations: 0.8724 MB / 0.4913 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2654, allocations: 4.25 kB / 0.4913 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-06/0.2654, allocations: 3.938 kB / 0.4913 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/0.2662, allocations: 0.5284 MB / 0.4918 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.2709, allocations: 2.771 MB / 0.4945 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.2722, allocations: 1 MB / 0.4955 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001078/0.2733, allocations: 457.7 kB / 0.4959 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2734, allocations: 68.5 kB / 0.496 GB, free: 1.914 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2734, allocations: 3.938 kB / 0.496 GB, free: 1.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01649/0.2899, allocations: 6.022 MB / 0.5019 GB, free: 12.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.19733989611268]