Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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.001506/0.001506, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001046/0.001046, allocations: 166.9 kB / 24.99 MB, free: 8.246 MB / 18.57 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.119/1.119, allocations: 177 MB / 205.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.3217/0.3217, allocations: 34.87 MB / 296.6 MB, free: 0.5312 MB / 266.7 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.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 378.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.152e-05, allocations: 2.312 kB / 378.7 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01222/0.01226, allocations: 11.04 MB / 389.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.01714, allocations: 3.002 MB / 392.8 MB, free: 4.332 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006177/0.01776, allocations: 71.75 kB / 392.8 MB, free: 4.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.01985, allocations: 1.67 MB / 394.5 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.02197, allocations: 1.661 MB / 396.2 MB, free: 0.918 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.02221, allocations: 127.7 kB / 396.3 MB, free: 0.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.02487, allocations: 3.362 MB / 399.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.02649, allocations: 1.972 MB / 401.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.02787, allocations: 1.699 MB / 403.3 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.03009, allocations: 2.503 MB / 405.8 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.03035, allocations: 228 kB / 406.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008645/0.03121, allocations: 0.6825 MB / 406.7 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.03222, allocations: 1.597 MB / 408.3 MB, free: 4.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007154/0.03293, allocations: 0.9301 MB / 409.3 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.03586, allocations: 3.727 MB / 413 MB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.03587, allocations: 0 / 413 MB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03587, allocations: 0 / 413 MB, free: 28 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.0359, allocations: 0 / 413 MB, free: 28 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.004329/0.04023, allocations: 4.404 MB / 417.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.04028, allocations: 12.62 kB / 417.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005825/0.0461, allocations: 3.469 MB / 420.9 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.04806, allocations: 1.699 MB / 422.6 MB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.04816, allocations: 184.9 kB / 422.8 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.04847, allocations: 236.2 kB / 423 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005559/0.05403, allocations: 4.856 MB / 427.8 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.05408, allocations: 19.81 kB / 427.9 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.05432, allocations: 111.8 kB / 428 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.05659, allocations: 2.373 MB / 430.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005154/0.06175, allocations: 2.887 MB / 433.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2623/0.324, allocations: 29.14 MB / 462.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/0.3285, allocations: 1.396 MB / 463.8 MB, free: 75.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.329, allocations: 361 kB / 464.1 MB, free: 75.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00536/0.3344, allocations: 4.055 MB / 468.2 MB, free: 74.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3344, allocations: 47.83 kB / 468.2 MB, free: 74.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 2.996e-06/0.3344, allocations: 0 / 468.2 MB, free: 74.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.00412/0.3386, allocations: 1.904 MB / 470.1 MB, free: 74.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3386, allocations: 113 kB / 470.2 MB, free: 74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.3409, allocations: 2.551 MB / 472.8 MB, free: 72.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3409, allocations: 44.53 kB / 472.8 MB, free: 72.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.3422, allocations: 2.97 MB / 475.8 MB, free: 70.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.3425, allocations: 0.5673 MB / 476.4 MB, free: 70.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000805/0.3433, allocations: 1.006 MB / 477.4 MB, free: 69.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3434, allocations: 0.5325 MB / 477.9 MB, free: 69.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.3441, allocations: 456.4 kB / 478.4 MB, free: 69.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/0.3463, allocations: 4.64 MB / 483 MB, free: 63.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.3498, allocations: 5.625 MB / 488.6 MB, free: 57.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/0.3498, allocations: 28.66 kB / 488.6 MB, free: 57.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004125/0.3539, allocations: 3.808 MB / 492.5 MB, free: 55.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.368e-05/0.354, allocations: 47.88 kB / 492.5 MB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.335e-05/0.3541, allocations: 99.94 kB / 492.6 MB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000101/0.3542, allocations: 131.9 kB / 492.7 MB, free: 55.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.356, allocations: 0.9959 MB / 493.7 MB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/0.3562, allocations: 195.1 kB / 493.9 MB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.3581, allocations: 0.6217 MB / 494.5 MB, free: 55.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/0.3585, allocations: 290.5 kB / 494.8 MB, free: 55.2 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.001073/0.3595, allocations: 0.5164 MB / 495.3 MB, free: 54.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.3598, allocations: 256.2 kB / 495.6 MB, free: 54.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3601, allocations: 233.5 kB / 495.8 MB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.3601, allocations: 19.75 kB / 495.8 MB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.3601, allocations: 2.344 kB / 495.8 MB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3601, allocations: 4.75 kB / 495.8 MB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005761/0.3659, allocations: 4.477 MB / 0.4886 GB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.3659, allocations: 7.656 kB / 0.4886 GB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.3663, allocations: 163.5 kB / 0.4888 GB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.948e-05/0.3663, allocations: 11.47 kB / 0.4888 GB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.3664, allocations: 37.94 kB / 0.4888 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/0.3664, allocations: 16.5 kB / 0.4888 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.3664, allocations: 11.78 kB / 0.4888 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3677, allocations: 1.29 MB / 0.4901 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3679, allocations: 237.8 kB / 0.4903 GB, free: 51.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.3681, allocations: 36.17 kB / 0.4903 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.3684, allocations: 39.64 kB / 0.4904 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3685, allocations: 88.73 kB / 0.4905 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.3686, allocations: 43.06 kB / 0.4905 GB, free: 51.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001339/0.3699, allocations: 1.072 MB / 0.4916 GB, free: 50.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3699, allocations: 0 / 0.4916 GB, free: 50.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002742/0.3727, allocations: 1.055 MB / 0.4926 GB, free: 50.25 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.0003439/0.373, allocations: 154.5 kB / 0.4927 GB, free: 50.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.3753, allocations: 1.955 MB / 0.4946 GB, free: 49.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.3753, allocations: 0 / 0.4946 GB, free: 49.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.3756, allocations: 345.9 kB / 0.495 GB, free: 49.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.3764, allocations: 237.7 kB / 0.4952 GB, free: 49.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/0.3843, allocations: 6.628 MB / 0.5017 GB, free: 45.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.3853, allocations: 1.117 MB / 0.5028 GB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002204/0.3875, allocations: 1.309 MB / 0.504 GB, free: 45.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.3878, allocations: 158.8 kB / 0.5042 GB, free: 45.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3878, allocations: 0 / 0.5042 GB, free: 45.28 MB / 410.7 MB Notification: Performance of Templates: time 0.02945/0.4173, allocations: 12.92 MB / 0.5168 GB, free: 37.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.533142434898764]