Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.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.0009006/0.0009006, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009773/0.0009773, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9654/0.9654, allocations: 177.1 MB / 205 MB, free: 5.219 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2595/0.2595, allocations: 34.26 MB / 295.7 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.411e-05, allocations: 6.25 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02175/0.02177, allocations: 11.09 MB / 389.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.02688, allocations: 3.01 MB / 392.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.02756, allocations: 67.75 kB / 392.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.0295, allocations: 1.674 MB / 393.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.03155, allocations: 1.676 MB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.03177, allocations: 127.8 kB / 395.7 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.03432, allocations: 3.36 MB / 399 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001672/0.03599, allocations: 1.964 MB / 401 MB, free: 11.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.03748, allocations: 1.695 MB / 402.7 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.03961, allocations: 2.506 MB / 405.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.03994, allocations: 228 kB / 405.4 MB, free: 7.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.04073, allocations: 0.6786 MB / 406.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000906/0.04164, allocations: 1.597 MB / 407.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.04243, allocations: 0.9379 MB / 408.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.04529, allocations: 3.719 MB / 412.3 MB, free: 196 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.0453, allocations: 4 kB / 412.3 MB, free: 192 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0453, allocations: 0 / 412.3 MB, free: 192 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.581e-05/0.04538, allocations: 0 / 412.3 MB, free: 192 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.004358/0.04973, allocations: 4.408 MB / 416.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.04977, allocations: 8.031 kB / 416.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.05529, allocations: 3.473 MB / 420.2 MB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.05725, allocations: 1.684 MB / 421.9 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.05734, allocations: 188.9 kB / 422.1 MB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.05763, allocations: 236.2 kB / 422.3 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005385/0.06302, allocations: 4.864 MB / 427.2 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.06306, allocations: 15.81 kB / 427.2 MB, free: 0.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.06328, allocations: 115.8 kB / 427.3 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/0.06541, allocations: 2.361 MB / 429.7 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/0.07112, allocations: 2.888 MB / 432.6 MB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1873/0.2584, allocations: 29.15 MB / 461.7 MB, free: 71.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.2615, allocations: 1.402 MB / 463.1 MB, free: 71.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.262, allocations: 359.4 kB / 463.5 MB, free: 71.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00538/0.2674, allocations: 4.053 MB / 467.5 MB, free: 70.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.2674, allocations: 50.95 kB / 467.6 MB, free: 70.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.457e-06/0.2674, allocations: 0 / 467.6 MB, free: 70.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.003946/0.2714, allocations: 1.904 MB / 469.5 MB, free: 70.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.2714, allocations: 119.6 kB / 469.6 MB, free: 69.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.2741, allocations: 2.544 MB / 472.1 MB, free: 69.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.2742, allocations: 40.8 kB / 472.2 MB, free: 69.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.2754, allocations: 2.971 MB / 475.1 MB, free: 67.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.2758, allocations: 0.5577 MB / 475.7 MB, free: 67.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008169/0.2766, allocations: 1.014 MB / 476.7 MB, free: 66.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2767, allocations: 0.5365 MB / 477.3 MB, free: 66.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.2774, allocations: 459.4 kB / 477.7 MB, free: 66.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.2796, allocations: 4.636 MB / 482.3 MB, free: 60.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/0.2834, allocations: 5.627 MB / 488 MB, free: 54.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.476e-05/0.2835, allocations: 29.5 kB / 488 MB, free: 54.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004562/0.2881, allocations: 3.801 MB / 491.8 MB, free: 52.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.2881, allocations: 50.19 kB / 491.8 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.44e-05/0.2882, allocations: 101.9 kB / 491.9 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.073e-05/0.2883, allocations: 130.6 kB / 492.1 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/0.29, allocations: 0.9906 MB / 493.1 MB, free: 52.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001293/0.2902, allocations: 199.1 kB / 493.3 MB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.2921, allocations: 0.6193 MB / 493.9 MB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/0.2924, allocations: 289.8 kB / 494.2 MB, free: 52.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.001294/0.2937, allocations: 0.5229 MB / 494.7 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.294, allocations: 258.7 kB / 494.9 MB, free: 51.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.2942, allocations: 233.8 kB / 495.2 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/0.2943, allocations: 18.38 kB / 495.2 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.2943, allocations: 1 kB / 495.2 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.2943, allocations: 7.953 kB / 495.2 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.3002, allocations: 4.476 MB / 499.7 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.3002, allocations: 7.969 kB / 499.7 MB, free: 49.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.3006, allocations: 163.1 kB / 499.8 MB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.3006, allocations: 11.31 kB / 499.8 MB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.3006, allocations: 34.2 kB / 499.9 MB, free: 49.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/0.3006, allocations: 16.5 kB / 499.9 MB, free: 49.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/0.3006, allocations: 21.42 kB / 499.9 MB, free: 49.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3018, allocations: 1.294 MB / 0.4895 GB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.3021, allocations: 230.2 kB / 0.4897 GB, free: 48.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.3022, allocations: 28.77 kB / 0.4897 GB, free: 48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.3026, allocations: 46.28 kB / 0.4898 GB, free: 47.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.3027, allocations: 86.91 kB / 0.4898 GB, free: 47.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.3027, allocations: 51.41 kB / 0.4899 GB, free: 47.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.3038, allocations: 1.069 MB / 0.4909 GB, free: 47.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3038, allocations: 0 / 0.4909 GB, free: 47.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00308/0.3069, allocations: 1.047 MB / 0.492 GB, free: 47.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.0003057/0.3072, allocations: 157.6 kB / 0.4921 GB, free: 47.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.31, allocations: 1.952 MB / 0.494 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.31, allocations: 0 / 0.494 GB, free: 46.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.3104, allocations: 341 kB / 0.4943 GB, free: 46.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.3113, allocations: 239.8 kB / 0.4946 GB, free: 46.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007124/0.3184, allocations: 6.614 MB / 0.501 GB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.3192, allocations: 1.122 MB / 0.5021 GB, free: 42.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001764/0.3209, allocations: 1.311 MB / 0.5034 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.3212, allocations: 161.6 kB / 0.5036 GB, free: 42.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/0.3212, allocations: 1.312 kB / 0.5036 GB, free: 42.23 MB / 410.7 MB Notification: Performance of Templates: time 0.02703/0.3482, allocations: 12.92 MB / 0.5162 GB, free: 35.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","",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.159047798253596]