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.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.002201/0.002201, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002474/0.002474, allocations: 208.5 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.634/1.634, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2479/0.2479, allocations: 44.94 MB / 359.6 MB, free: 6.156 MB / 286.1 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.91 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 65.47 MB / 0.5582 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01412/0.3433, allocations: 10.06 MB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008444/0.3518, allocations: 2.919 MB / 0.5708 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.3543, allocations: 67.81 kB / 0.5709 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004194/0.3585, allocations: 1.541 MB / 0.5724 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005529/0.364, allocations: 1.627 MB / 0.574 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.3648, allocations: 111.9 kB / 0.5741 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00562/0.3704, allocations: 3.302 MB / 0.5773 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003665/0.3741, allocations: 1.909 MB / 0.5792 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.3766, allocations: 1.164 MB / 0.5803 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004563/0.3811, allocations: 2.532 MB / 0.5828 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.3821, allocations: 228 kB / 0.583 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.3843, allocations: 0.6085 MB / 0.5836 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.3866, allocations: 1.542 MB / 0.5851 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.3898, allocations: 1.276 MB / 0.5864 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008837/0.3986, allocations: 5.97 MB / 0.5922 GB, free: 4.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3986, allocations: 0 / 0.5922 GB, free: 4.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3986, allocations: 0 / 0.5922 GB, free: 4.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002998/0.3989, allocations: 0 / 0.5922 GB, free: 4.355 MB / 430.1 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.00988/0.4088, allocations: 4.032 MB / 0.5961 GB, free: 276 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.4088, allocations: 8.031 kB / 0.5961 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4191, allocations: 2.986 MB / 0.5991 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.424, allocations: 1.795 MB / 0.6008 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.4242, allocations: 184.3 kB / 0.601 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007778/0.425, allocations: 235.8 kB / 0.6012 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.4426, allocations: 9.764 MB / 0.6107 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.156e-05/0.4427, allocations: 15.81 kB / 0.6108 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005355/0.4432, allocations: 115.8 kB / 0.6109 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/0.4472, allocations: 2.358 MB / 0.6132 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.4653, allocations: 8.94 MB / 0.6219 GB, free: 5.449 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04662/0.5119, allocations: 26.79 MB / 0.6481 GB, free: 9.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006539/0.5184, allocations: 2.461 MB / 0.6505 GB, free: 7.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/0.5202, allocations: 1.013 MB / 0.6515 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.5313, allocations: 4.708 MB / 0.6561 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.5313, allocations: 47.2 kB / 0.6561 GB, free: 1.621 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.569e-06/0.5313, allocations: 0 / 0.6561 GB, free: 1.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=135): time 0.008/0.5393, allocations: 3.135 MB / 0.6592 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.5394, allocations: 119.4 kB / 0.6593 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004765/0.5442, allocations: 2.777 MB / 0.662 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.5443, allocations: 41.7 kB / 0.662 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/0.5467, allocations: 2.856 MB / 0.6648 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007101/0.5474, allocations: 0.5389 MB / 0.6653 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001665/0.5491, allocations: 0.9369 MB / 0.6663 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.5493, allocations: 357.9 kB / 0.6666 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.5518, allocations: 1.403 MB / 0.668 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005022/0.5568, allocations: 4.229 MB / 0.6721 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007576/0.5644, allocations: 6.143 MB / 0.6781 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.963e-05/0.5645, allocations: 31.94 kB / 0.6781 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00994/0.5744, allocations: 5.463 MB / 0.6835 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.5745, allocations: 51.98 kB / 0.6835 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.5747, allocations: 100 kB / 0.6836 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.5748, allocations: 132.8 kB / 0.6837 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.5778, allocations: 0.9903 MB / 0.6847 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001781/0.578, allocations: 199.2 kB / 0.6849 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.5811, allocations: 0.6166 MB / 0.6855 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005683/0.5817, allocations: 284 kB / 0.6858 GB, free: 288 kB / 0.5137 GB 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.003375/0.585, allocations: 1.974 MB / 0.6877 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.5855, allocations: 234.3 kB / 0.6879 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.5862, allocations: 279.8 kB / 0.6882 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.5862, allocations: 16 kB / 0.6882 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.5862, allocations: 4 kB / 0.6882 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.5862, allocations: 7.984 kB / 0.6882 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.597, allocations: 4.807 MB / 0.6929 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5971, allocations: 11.94 kB / 0.6929 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.5978, allocations: 167.7 kB / 0.6931 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.648e-05/0.5978, allocations: 12 kB / 0.6931 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/0.5979, allocations: 24 kB / 0.6931 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.5979, allocations: 20.48 kB / 0.6931 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/0.5979, allocations: 11.94 kB / 0.6931 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.6006, allocations: 2.003 MB / 0.6951 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/0.6014, allocations: 226.3 kB / 0.6953 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/0.6019, allocations: 31.98 kB / 0.6953 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008552/0.6027, allocations: 39.97 kB / 0.6954 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.6029, allocations: 92.16 kB / 0.6955 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.603, allocations: 52 kB / 0.6955 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003075/0.6061, allocations: 1.584 MB / 0.6971 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.4e-07/0.6061, allocations: 0 / 0.6971 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00422/0.6103, allocations: 1.051 MB / 0.6981 GB, free: 3.352 MB / 0.5294 GB 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.0004713/0.6108, allocations: 154.8 kB / 0.6982 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005458/0.6162, allocations: 3.138 MB / 0.7013 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.6162, allocations: 0 / 0.7013 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.6173, allocations: 0.744 MB / 0.702 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.619, allocations: 234.6 kB / 0.7023 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.6354, allocations: 8.236 MB / 0.7103 GB, free: 6.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004733/0.6401, allocations: 2.552 MB / 0.7128 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.6408, allocations: 203.4 kB / 0.713 GB, free: 3.945 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/0.6408, allocations: 3.938 kB / 0.713 GB, free: 3.941 MB / 0.545 GB Notification: Performance of Templates: time 0.3557/0.9966, allocations: 45.16 MB / 0.7571 GB, free: 143.1 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.157913105096668]