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.001338/0.001338, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001505/0.001505, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.532/1.532, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.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.2319/0.2319, allocations: 46.96 MB / 361.6 MB, free: 3.918 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 0.002689/0.002689, allocations: 83.88 kB / 0.4974 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3394, allocations: 66.07 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009995/0.3494, allocations: 7.671 MB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005341/0.3547, allocations: 2.184 MB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.3556, allocations: 43.88 kB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.3586, allocations: 1.495 MB / 0.5731 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3598, allocations: 493.3 kB / 0.5735 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3601, allocations: 75.84 kB / 0.5736 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3611, allocations: 0.9254 MB / 0.5745 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.3625, allocations: 1.197 MB / 0.5757 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.3632, allocations: 0.5372 MB / 0.5762 GB, free: 5.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/0.3642, allocations: 0.6535 MB / 0.5768 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.3644, allocations: 120 kB / 0.5769 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3647, allocations: 131.9 kB / 0.5771 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007166/0.3654, allocations: 0.7439 MB / 0.5778 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.3661, allocations: 0.6366 MB / 0.5784 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.3684, allocations: 2.351 MB / 0.5807 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3684, allocations: 0 / 0.5807 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3684, allocations: 0 / 0.5807 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.3685, allocations: 0 / 0.5807 GB, free: 0.6016 MB / 414.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.002678/0.3711, allocations: 1.924 MB / 0.5826 GB, free: 14.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3712, allocations: 8.031 kB / 0.5826 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.3717, allocations: 227.4 kB / 0.5828 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3729, allocations: 0.6586 MB / 0.5835 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.373, allocations: 119.3 kB / 0.5836 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.3732, allocations: 152.1 kB / 0.5837 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.3776, allocations: 3.383 MB / 0.587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.3776, allocations: 19.81 kB / 0.587 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.3778, allocations: 71.94 kB / 0.5871 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007858/0.3786, allocations: 0.6149 MB / 0.5877 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.3817, allocations: 1.858 MB / 0.5895 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.3947, allocations: 12.42 MB / 0.6017 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3948, allocations: 169.1 kB / 0.6018 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.3948, allocations: 80.14 kB / 0.6019 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3949, allocations: 75.28 kB / 0.602 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.395, allocations: 121.7 kB / 0.6021 GB, free: 9.871 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.094e-06/0.395, allocations: 0 / 0.6021 GB, free: 9.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002232/0.3952, allocations: 133 kB / 0.6022 GB, free: 9.734 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.3953, allocations: 130.7 kB / 0.6023 GB, free: 9.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.3971, allocations: 1.434 MB / 0.6037 GB, free: 8.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3971, allocations: 25.7 kB / 0.6038 GB, free: 8.117 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.3982, allocations: 1.447 MB / 0.6052 GB, free: 6.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.3983, allocations: 43.95 kB / 0.6052 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/0.3988, allocations: 431.2 kB / 0.6056 GB, free: 6.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.399, allocations: 330 kB / 0.6059 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.3996, allocations: 375.8 kB / 0.6063 GB, free: 5.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.4017, allocations: 1.933 MB / 0.6082 GB, free: 2.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00298/0.4046, allocations: 2.511 MB / 0.6106 GB, free: 15.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-05/0.4047, allocations: 16 kB / 0.6107 GB, free: 15.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003411/0.4081, allocations: 2.092 MB / 0.6127 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.4081, allocations: 35.94 kB / 0.6127 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-05/0.4082, allocations: 56 kB / 0.6128 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.095e-05/0.4083, allocations: 72 kB / 0.6129 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4095, allocations: 495.7 kB / 0.6133 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.892e-05/0.4096, allocations: 107.6 kB / 0.6134 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.4109, allocations: 313.7 kB / 0.6137 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.411, allocations: 136 kB / 0.6139 GB, free: 12.11 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.001205/0.4122, allocations: 0.8549 MB / 0.6147 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.4124, allocations: 220.2 kB / 0.6149 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.4126, allocations: 206.1 kB / 0.6151 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/0.4127, allocations: 184.3 kB / 0.6153 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.573e-05/0.4128, allocations: 188.2 kB / 0.6155 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-05/0.4129, allocations: 180.3 kB / 0.6156 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.4141, allocations: 0.9771 MB / 0.6166 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.762e-05/0.4142, allocations: 105 kB / 0.6167 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.4142, allocations: 101 kB / 0.6168 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.988e-05/0.4143, allocations: 184.2 kB / 0.6169 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.4144, allocations: 184.2 kB / 0.6171 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.872e-05/0.4145, allocations: 184.2 kB / 0.6173 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.552e-05/0.4146, allocations: 180.2 kB / 0.6175 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.4149, allocations: 412.8 kB / 0.6179 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.4151, allocations: 192.2 kB / 0.618 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.4153, allocations: 192.1 kB / 0.6182 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.4156, allocations: 101 kB / 0.6183 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4157, allocations: 188.2 kB / 0.6185 GB, free: 7.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-05/0.4157, allocations: 101 kB / 0.6186 GB, free: 7.047 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.4168, allocations: 0.7929 MB / 0.6194 GB, free: 6.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4168, allocations: 0 / 0.6194 GB, free: 6.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001859/0.4187, allocations: 462.3 kB / 0.6198 GB, free: 5.797 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.0002182/0.4189, allocations: 178.5 kB / 0.62 GB, free: 5.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.4205, allocations: 0.8598 MB / 0.6208 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4205, allocations: 0 / 0.6208 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.4205, allocations: 3.938 kB / 0.6208 GB, free: 4.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.4213, allocations: 0.5478 MB / 0.6214 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005043/0.4263, allocations: 2.989 MB / 0.6243 GB, free: 1.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.4277, allocations: 0.9917 MB / 0.6253 GB, free: 148 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.4279, allocations: 79.44 kB / 0.6253 GB, free: 68 kB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4279, allocations: 0 / 0.6253 GB, free: 68 kB / 462.1 MB Notification: Performance of Templates: time 0.03165/0.4595, allocations: 17.24 MB / 0.6422 GB, free: 14.81 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/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: 8.674033696297556]