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.001267/0.001267, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001596/0.001596, allocations: 171.5 kB / 24.91 MB, free: 9.227 MB / 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.9431/0.9431, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2554/0.2554, allocations: 34.27 MB / 296.1 MB, free: 0.6602 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.843e-06/1.843e-06, allocations: 0 / 325.2 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.094e-05, allocations: 2.312 kB / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.008056/0.008077, allocations: 10.8 MB / 336 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.01271, allocations: 3.122 MB / 339.1 MB, free: 9.723 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005425/0.01326, allocations: 71.75 kB / 339.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.015, allocations: 1.666 MB / 340.9 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.01691, allocations: 1.676 MB / 342.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.0171, allocations: 127.7 kB / 342.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002576/0.01968, allocations: 3.347 MB / 346 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.02134, allocations: 2.031 MB / 348.1 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.02268, allocations: 1.699 MB / 349.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.0249, allocations: 2.409 MB / 352.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.02523, allocations: 228 kB / 352.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.02605, allocations: 0.6709 MB / 353.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000921/0.02697, allocations: 1.597 MB / 354.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007167/0.02768, allocations: 0.9301 MB / 355.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.03032, allocations: 3.731 MB / 359.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.03032, allocations: 0 / 359.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03032, allocations: 0 / 359.3 MB, free: 5.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.216e-05/0.03038, allocations: 0 / 359.3 MB, free: 5.441 MB / 330.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.003359/0.03373, allocations: 3.747 MB / 363.1 MB, free: 1.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.03377, allocations: 8.031 kB / 363.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003077/0.03685, allocations: 1.3 MB / 364.4 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.03841, allocations: 1.411 MB / 365.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.03849, allocations: 181 kB / 366 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/0.03877, allocations: 244.1 kB / 366.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.04271, allocations: 4.196 MB / 370.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.04275, allocations: 19.81 kB / 370.4 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.04295, allocations: 111.8 kB / 370.5 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/0.04463, allocations: 2.073 MB / 372.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.04802, allocations: 2.431 MB / 375 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.06353, allocations: 21.37 MB / 396.4 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.06593, allocations: 1.364 MB / 397.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.06625, allocations: 250.5 kB / 398 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003994/0.07024, allocations: 3.389 MB / 401.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.07027, allocations: 47.22 kB / 401.4 MB, free: 10.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=135): time 2.675e-06/0.07027, allocations: 0 / 401.4 MB, free: 10.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.00313/0.0734, allocations: 1.608 MB / 403.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.07347, allocations: 111.5 kB / 403.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.07485, allocations: 2.033 MB / 405.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.07489, allocations: 45.69 kB / 405.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.07601, allocations: 2.733 MB / 408 MB, free: 3.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.07628, allocations: 0.5232 MB / 408.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006335/0.07691, allocations: 0.8701 MB / 409.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.07702, allocations: 365.8 kB / 409.7 MB, free: 1.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.07755, allocations: 483.6 kB / 410.2 MB, free: 1.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.07933, allocations: 3.174 MB / 413.4 MB, free: 12.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.08211, allocations: 4.168 MB / 417.5 MB, free: 6.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.08214, allocations: 28 kB / 417.6 MB, free: 6.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.002792/0.08493, allocations: 2.976 MB / 420.5 MB, free: 3.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.08499, allocations: 48 kB / 420.6 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.239e-05/0.08508, allocations: 100 kB / 420.7 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.957e-05/0.08518, allocations: 132 kB / 420.8 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.08667, allocations: 0.9747 MB / 421.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001032/0.08677, allocations: 199.7 kB / 422 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.08808, allocations: 0.597 MB / 422.6 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.0883, allocations: 256 kB / 422.8 MB, free: 1.68 MB / 394.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.0007726/0.08907, allocations: 480.8 kB / 423.3 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.08922, allocations: 143.8 kB / 423.4 MB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.08943, allocations: 231.9 kB / 423.7 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.08945, allocations: 16 kB / 423.7 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.08946, allocations: 0 / 423.7 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.08947, allocations: 11.91 kB / 423.7 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.09282, allocations: 3.487 MB / 427.2 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.09282, allocations: 8 kB / 427.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.09311, allocations: 147.7 kB / 427.3 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.09312, allocations: 12 kB / 427.3 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.09315, allocations: 23.98 kB / 427.4 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/0.09316, allocations: 15.94 kB / 427.4 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.09317, allocations: 12 kB / 427.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.09383, allocations: 0.9107 MB / 428.3 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.09398, allocations: 230.1 kB / 428.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.0941, allocations: 27.97 kB / 428.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.09436, allocations: 24 kB / 428.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.09444, allocations: 80.14 kB / 428.7 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.09448, allocations: 40 kB / 428.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005974/0.09508, allocations: 0.7885 MB / 429.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09508, allocations: 4 kB / 429.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001826/0.09691, allocations: 1.047 MB / 430.5 MB, free: 9.668 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.0002254/0.09713, allocations: 132.1 kB / 430.7 MB, free: 9.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.09851, allocations: 1.72 MB / 432.4 MB, free: 7.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.714e-05/0.0986, allocations: 60.44 kB / 432.4 MB, free: 7.762 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.09884, allocations: 261 kB / 432.7 MB, free: 7.508 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.09948, allocations: 246.5 kB / 432.9 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/0.1054, allocations: 6.799 MB / 439.7 MB, free: 304 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008648/0.1063, allocations: 1.099 MB / 440.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007028/0.107, allocations: 365.8 kB / 441.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.1074, allocations: 371.3 kB / 441.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1074, allocations: 4 kB / 441.6 MB, free: 14.45 MB / 426.7 MB Notification: Performance of Templates: time 0.1742/0.2816, allocations: 14.79 MB / 456.4 MB, free: 129.6 MB / 426.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: 3.6162246842868626]