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.0009718/0.0009718, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001393/0.001393, allocations: 165.6 kB / 24.82 MB, free: 8.906 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.039/1.039, allocations: 177 MB / 205.1 MB, free: 5.461 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.2756/0.2756, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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 1.673e-06/1.673e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.548e-05, allocations: 3.156 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02807/0.02808, allocations: 10.8 MB / 390 MB, free: 6.992 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.04315, allocations: 2.986 MB / 393 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008433/0.04399, allocations: 75.75 kB / 393.1 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005395/0.04939, allocations: 1.65 MB / 394.7 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.05193, allocations: 1.668 MB / 396.4 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.05525, allocations: 123.7 kB / 396.5 MB, free: 480 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006194/0.06144, allocations: 3.364 MB / 399.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.06339, allocations: 1.968 MB / 401.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.06579, allocations: 1.699 MB / 403.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.06806, allocations: 2.514 MB / 406 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.0683, allocations: 232 kB / 406.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008906/0.06919, allocations: 0.6786 MB / 407 MB, free: 5.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009769/0.07017, allocations: 1.601 MB / 408.6 MB, free: 4.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.07119, allocations: 0.9301 MB / 409.5 MB, free: 3.434 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002632/0.07383, allocations: 3.723 MB / 413.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.07383, allocations: 0 / 413.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.07383, allocations: 0 / 413.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.703e-05/0.07386, allocations: 0 / 413.2 MB, free: 15.7 MB / 394.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.004321/0.07818, allocations: 4.376 MB / 417.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.07823, allocations: 8.625 kB / 417.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003575/0.0818, allocations: 1.695 MB / 419.3 MB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/0.08341, allocations: 1.574 MB / 420.9 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.08352, allocations: 184.9 kB / 421 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/0.0838, allocations: 236.2 kB / 421.3 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004699/0.0885, allocations: 4.456 MB / 425.7 MB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.08853, allocations: 15.81 kB / 425.7 MB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.08874, allocations: 115.8 kB / 425.9 MB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001703/0.09044, allocations: 2.073 MB / 427.9 MB, free: 372 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.09395, allocations: 2.345 MB / 430.3 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.201/0.2949, allocations: 27.93 MB / 458.2 MB, free: 73.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.2975, allocations: 1.311 MB / 459.5 MB, free: 72.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.2978, allocations: 309.7 kB / 459.8 MB, free: 72.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004685/0.3025, allocations: 3.855 MB / 463.7 MB, free: 71.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3025, allocations: 53.58 kB / 463.7 MB, free: 71.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 2.916e-06/0.3025, allocations: 0 / 463.7 MB, free: 71.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.003385/0.3059, allocations: 1.827 MB / 465.6 MB, free: 71.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.306, allocations: 115.2 kB / 465.7 MB, free: 71.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.308, allocations: 2.538 MB / 468.2 MB, free: 71.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.308, allocations: 40.98 kB / 468.2 MB, free: 71.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.3093, allocations: 2.994 MB / 471.2 MB, free: 69.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003269/0.3096, allocations: 0.5726 MB / 471.8 MB, free: 69.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008301/0.3104, allocations: 1.024 MB / 472.8 MB, free: 69.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3105, allocations: 0.5436 MB / 473.4 MB, free: 68.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.311, allocations: 359 kB / 473.7 MB, free: 68.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/0.3131, allocations: 4.566 MB / 478.3 MB, free: 62.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/0.3169, allocations: 5.516 MB / 483.8 MB, free: 56.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.371e-05/0.317, allocations: 28.44 kB / 483.8 MB, free: 56.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.003782/0.3208, allocations: 3.55 MB / 487.4 MB, free: 55.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.3208, allocations: 49.03 kB / 487.4 MB, free: 55.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/0.3209, allocations: 102.1 kB / 487.5 MB, free: 55.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.321, allocations: 131.9 kB / 487.7 MB, free: 55.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.3225, allocations: 0.9708 MB / 488.6 MB, free: 55.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-05/0.3226, allocations: 199.3 kB / 488.8 MB, free: 55.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.3242, allocations: 0.5916 MB / 489.4 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.3244, allocations: 252.4 kB / 489.7 MB, free: 54.79 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 (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 (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.001084/0.3255, allocations: 0.5212 MB / 490.2 MB, free: 54.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.3257, allocations: 258.6 kB / 490.4 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.3259, allocations: 237.7 kB / 490.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.326, allocations: 15.09 kB / 490.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.326, allocations: 1.219 kB / 490.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.326, allocations: 4.922 kB / 490.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.3314, allocations: 4.348 MB / 495 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3314, allocations: 8.75 kB / 495.1 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.3318, allocations: 147 kB / 495.2 MB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/0.3318, allocations: 11.84 kB / 495.2 MB, free: 51.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.3319, allocations: 28.44 kB / 495.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-05/0.3319, allocations: 18.86 kB / 495.3 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.216e-05/0.3319, allocations: 13.34 kB / 495.3 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3332, allocations: 1.242 MB / 496.5 MB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.3334, allocations: 226.6 kB / 496.7 MB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.3336, allocations: 35.42 kB / 496.8 MB, free: 50.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.334, allocations: 19.34 kB / 496.8 MB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3341, allocations: 95.59 kB / 496.9 MB, free: 50.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.3342, allocations: 38.53 kB / 496.9 MB, free: 50.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.3352, allocations: 1.001 MB / 497.9 MB, free: 50.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3352, allocations: 0 / 497.9 MB, free: 50.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003141/0.3383, allocations: 1.042 MB / 499 MB, free: 49.77 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.000272/0.3386, allocations: 161 kB / 499.1 MB, free: 49.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.341, allocations: 1.832 MB / 0.4892 GB, free: 49.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.341, allocations: 1.375 kB / 0.4892 GB, free: 49.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.3413, allocations: 321.3 kB / 0.4895 GB, free: 48.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.3423, allocations: 240 kB / 0.4897 GB, free: 48.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/0.3499, allocations: 6.609 MB / 0.4962 GB, free: 45.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.3509, allocations: 1.122 MB / 0.4973 GB, free: 44.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009774/0.3519, allocations: 357.5 kB / 0.4976 GB, free: 44.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.3524, allocations: 396.4 kB / 0.498 GB, free: 44.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3524, allocations: 0 / 0.498 GB, free: 44.8 MB / 410.7 MB Notification: Performance of Templates: time 0.03253/0.3849, allocations: 14.85 MB / 0.5125 GB, free: 37.92 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.00350943300873]