Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002322, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005167/0.00617, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9/0.9, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1715/1.071, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1487/0.1487, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03752/0.1862, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.432e-05, allocations: 2.312 kB / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01144/0.01146, allocations: 10.97 MB / 296.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005673/0.01714, allocations: 3.102 MB / 299.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.01823, allocations: 71.75 kB / 300 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.01997, allocations: 1.619 MB / 301.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.02218, allocations: 1.68 MB / 303.3 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.0224, allocations: 119.7 kB / 303.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002905/0.0253, allocations: 3.219 MB / 306.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.02695, allocations: 1.906 MB / 308.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.02855, allocations: 1.761 MB / 310.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.03072, allocations: 2.047 MB / 312.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005232/0.03125, allocations: 231.9 kB / 312.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.03227, allocations: 0.6904 MB / 313.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008721/0.03314, allocations: 1.473 MB / 314.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007142/0.03385, allocations: 0.7902 MB / 315.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.03656, allocations: 3.575 MB / 319.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.03657, allocations: 4 kB / 319.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03657, allocations: 0 / 319.1 MB, free: 7.012 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.03668, allocations: 0 / 319.1 MB, free: 7.012 MB / 314.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.004048/0.04073, allocations: 4.551 MB / 323.6 MB, free: 2.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.04076, allocations: 15.97 kB / 323.7 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.04391, allocations: 1.304 MB / 325 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1408/0.1847, allocations: 1.412 MB / 326.4 MB, free: 30.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.185, allocations: 180.8 kB / 326.5 MB, free: 30.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005668/0.1855, allocations: 241.3 kB / 326.8 MB, free: 30.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00634/0.1919, allocations: 4.189 MB / 331 MB, free: 29.51 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.1919, allocations: 17.38 kB / 331 MB, free: 29.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.1922, allocations: 113 kB / 331.1 MB, free: 29.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/0.1942, allocations: 1.971 MB / 333.1 MB, free: 29.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004606/0.1988, allocations: 2.42 MB / 335.5 MB, free: 29.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.214, allocations: 21.39 MB / 356.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.2164, allocations: 1.33 MB / 358.2 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.2166, allocations: 249.9 kB / 358.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00361/0.2203, allocations: 3.35 MB / 361.8 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2203, allocations: 43.75 kB / 361.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=135): time 2.815e-06/0.2203, allocations: 0.9688 kB / 361.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=135): time 0.003116/0.2234, allocations: 1.562 MB / 363.4 MB, free: 3.773 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.2234, allocations: 115.5 kB / 363.5 MB, free: 3.637 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.2246, allocations: 2.027 MB / 365.6 MB, free: 1.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2246, allocations: 47.34 kB / 365.6 MB, free: 1.535 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009879/0.2256, allocations: 2.742 MB / 368.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.2259, allocations: 0.5271 MB / 368.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007328/0.2267, allocations: 0.8663 MB / 369.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2268, allocations: 366.2 kB / 370.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.2272, allocations: 333 kB / 370.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.229, allocations: 3.234 MB / 373.7 MB, free: 8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.2326, allocations: 4.571 MB / 378.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.491e-05/0.2326, allocations: 31.72 kB / 378.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.003456/0.2361, allocations: 2.99 MB / 381.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.16e-05/0.2362, allocations: 57.39 kB / 381.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/0.2363, allocations: 112.1 kB / 381.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.796e-05/0.2364, allocations: 136 kB / 381.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.2383, allocations: 1.111 MB / 382.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.62e-05/0.2384, allocations: 195.2 kB / 382.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.2401, allocations: 0.593 MB / 383.4 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.2404, allocations: 255.9 kB / 383.7 MB, free: 12.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 465 * Number of states: 0 () * Number of discrete variables: 21 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],fixedFrameOfWireframe.color_x[1],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[3],fixedFrame.color_x[1],fixedFrame.color_x[2],fixedFrame.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (561): * Single equations (assignments): 555 * 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 prepare postOptimizeDAE: time 0.001031/0.2414, allocations: 0.4893 MB / 384.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.2416, allocations: 135.8 kB / 384.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.2418, allocations: 239.8 kB / 384.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.2418, allocations: 12 kB / 384.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2418, allocations: 8 kB / 384.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2418, allocations: 3.984 kB / 384.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.2456, allocations: 3.467 MB / 388 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/0.2456, allocations: 20 kB / 388.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.246, allocations: 164.7 kB / 388.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.2462, allocations: 222.1 kB / 388.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.2462, allocations: 16 kB / 388.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.2462, allocations: 35.92 kB / 388.5 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.2462, allocations: 15.94 kB / 388.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.2462, allocations: 11.94 kB / 388.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.2471, allocations: 0.9066 MB / 389.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2473, allocations: 35.98 kB / 389.5 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.2475, allocations: 19.94 kB / 389.5 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.204e-05/0.2476, allocations: 87.38 kB / 389.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.2477, allocations: 43.97 kB / 389.6 MB, free: 6.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006115/0.2483, allocations: 0.785 MB / 390.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2483, allocations: 0 / 390.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002811/0.2511, allocations: 1.074 MB / 391.5 MB, free: 4.523 MB / 346.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.0002776/0.2514, allocations: 140.1 kB / 391.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.2535, allocations: 1.811 MB / 393.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001316/0.2536, allocations: 67.88 kB / 393.5 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.2541, allocations: 350.8 kB / 393.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.2556, allocations: 1.355 MB / 395.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/0.2652, allocations: 6.98 MB / 402.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.2664, allocations: 1.099 MB / 403.2 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001063/0.2674, allocations: 348.5 kB / 403.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.2679, allocations: 343.3 kB / 403.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2679, allocations: 0 / 403.9 MB, free: 7.777 MB / 362.7 MB Notification: Performance of Templates: time 0.03302/0.3009, allocations: 13.39 MB / 417.3 MB, free: 10.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1996810976415873]