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.001295/0.001295, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001498/0.001498, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.406/1.406, allocations: 230.3 MB / 258 MB, free: 8.242 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.2395/0.2395, allocations: 46.89 MB / 361.3 MB, free: 4.434 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.002286/0.002286, allocations: 75.88 kB / 0.4971 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3417, allocations: 66.04 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01044/0.3522, allocations: 8.752 MB / 0.5701 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004815/0.357, allocations: 2.317 MB / 0.5724 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.3576, allocations: 43.88 kB / 0.5724 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.3605, allocations: 1.561 MB / 0.5739 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009522/0.3615, allocations: 497.3 kB / 0.5744 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3617, allocations: 67.91 kB / 0.5745 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.3628, allocations: 0.9293 MB / 0.5754 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.364, allocations: 1.096 MB / 0.5764 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005725/0.3646, allocations: 0.5488 MB / 0.577 GB, free: 4.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008851/0.3655, allocations: 0.72 MB / 0.5777 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.3657, allocations: 120 kB / 0.5778 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3659, allocations: 124 kB / 0.5779 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.3666, allocations: 0.74 MB / 0.5786 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007957/0.3674, allocations: 0.8541 MB / 0.5795 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.3698, allocations: 2.324 MB / 0.5817 GB, free: 15.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3698, allocations: 8 kB / 0.5818 GB, free: 15.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3698, allocations: 7.938 kB / 0.5818 GB, free: 15.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.822e-05/0.3698, allocations: 0 / 0.5818 GB, free: 15.81 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.00259/0.3724, allocations: 1.92 MB / 0.5836 GB, free: 13.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3725, allocations: 8.031 kB / 0.5836 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.373, allocations: 227.4 kB / 0.5839 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.3741, allocations: 0.6547 MB / 0.5845 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/0.3742, allocations: 115.4 kB / 0.5846 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.3744, allocations: 160 kB / 0.5848 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.3786, allocations: 3.383 MB / 0.5881 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.3787, allocations: 15.88 kB / 0.5881 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.3788, allocations: 71.94 kB / 0.5882 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007906/0.3796, allocations: 0.6266 MB / 0.5888 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.3827, allocations: 1.858 MB / 0.5906 GB, free: 6.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.3965, allocations: 13.44 MB / 0.6037 GB, free: 8.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.3966, allocations: 173.1 kB / 0.6039 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.3967, allocations: 80.14 kB / 0.6039 GB, free: 8.242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.3967, allocations: 83.22 kB / 0.604 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.3968, allocations: 105.8 kB / 0.6041 GB, free: 8.047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.304e-06/0.3968, allocations: 0 / 0.6041 GB, free: 8.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000299/0.3971, allocations: 156.8 kB / 0.6043 GB, free: 7.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.3972, allocations: 126.7 kB / 0.6044 GB, free: 7.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.3993, allocations: 1.659 MB / 0.606 GB, free: 6.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3993, allocations: 25.7 kB / 0.606 GB, free: 6.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.4003, allocations: 1.412 MB / 0.6074 GB, free: 4.621 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.4004, allocations: 47.94 kB / 0.6075 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004555/0.4008, allocations: 431.1 kB / 0.6079 GB, free: 4.145 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.401, allocations: 353.9 kB / 0.6082 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/0.4015, allocations: 371.8 kB / 0.6086 GB, free: 3.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.4034, allocations: 1.929 MB / 0.6104 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.4061, allocations: 2.511 MB / 0.6129 GB, free: 13.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/0.4062, allocations: 16 kB / 0.6129 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003244/0.4094, allocations: 2.116 MB / 0.615 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.4095, allocations: 32.19 kB / 0.615 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.084e-05/0.4095, allocations: 60 kB / 0.6151 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.365e-05/0.4096, allocations: 72 kB / 0.6151 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4107, allocations: 495 kB / 0.6156 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.981e-05/0.4108, allocations: 111.6 kB / 0.6157 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.4122, allocations: 333.5 kB / 0.616 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.4123, allocations: 139.9 kB / 0.6162 GB, free: 10.01 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.001104/0.4134, allocations: 0.8666 MB / 0.617 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.4136, allocations: 236.1 kB / 0.6172 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.4138, allocations: 228.1 kB / 0.6175 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.4139, allocations: 184.3 kB / 0.6176 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.434e-05/0.414, allocations: 184.3 kB / 0.6178 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/0.4141, allocations: 188.2 kB / 0.618 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4157, allocations: 1.441 MB / 0.6194 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/0.4157, allocations: 112.9 kB / 0.6195 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.4158, allocations: 105 kB / 0.6196 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.783e-05/0.4159, allocations: 180.3 kB / 0.6198 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.4159, allocations: 188.2 kB / 0.62 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.183e-05/0.416, allocations: 176.3 kB / 0.6201 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.7e-05/0.4161, allocations: 180.2 kB / 0.6203 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.4164, allocations: 438 kB / 0.6207 GB, free: 5.176 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.4167, allocations: 224.1 kB / 0.6209 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.4169, allocations: 184.2 kB / 0.6211 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.4172, allocations: 104.9 kB / 0.6212 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/0.4172, allocations: 180.3 kB / 0.6214 GB, free: 4.469 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.4173, allocations: 104.9 kB / 0.6215 GB, free: 4.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001284/0.4186, allocations: 1.014 MB / 0.6225 GB, free: 3.348 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4186, allocations: 0 / 0.6225 GB, free: 3.348 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001507/0.4201, allocations: 438.7 kB / 0.6229 GB, free: 2.918 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.0001586/0.4202, allocations: 174.5 kB / 0.623 GB, free: 2.738 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.4215, allocations: 0.8643 MB / 0.6239 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4215, allocations: 0 / 0.6239 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.4215, allocations: 0 / 0.6239 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/0.4223, allocations: 0.5776 MB / 0.6245 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.4266, allocations: 2.815 MB / 0.6272 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.4281, allocations: 1.579 MB / 0.6287 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001075/0.4292, allocations: 495.2 kB / 0.6292 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.4293, allocations: 75.44 kB / 0.6293 GB, free: 12.27 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4293, allocations: 3.938 kB / 0.6293 GB, free: 12.27 MB / 478.1 MB Notification: Performance of Templates: time 0.02127/0.4506, allocations: 10.05 MB / 0.6391 GB, free: 2.254 MB / 478.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.0.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.283165600150824]