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.001655/0.001655, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.002137/0.002137, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.245/0.245, allocations: 46.92 MB / 361.6 MB, free: 4.293 MB / 286.1 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 0.00201/0.00201, allocations: 71.91 kB / 0.4974 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3508, allocations: 66.02 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01313/0.3639, allocations: 11.59 MB / 0.5732 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3703, allocations: 3.079 MB / 0.5762 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.3716, allocations: 67.75 kB / 0.5762 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.3746, allocations: 1.608 MB / 0.5778 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.3782, allocations: 1.615 MB / 0.5794 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.3785, allocations: 115.9 kB / 0.5795 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.3828, allocations: 3.306 MB / 0.5827 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.3851, allocations: 1.905 MB / 0.5846 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.3865, allocations: 1.168 MB / 0.5857 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.3901, allocations: 2.602 MB / 0.5883 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004242/0.3905, allocations: 228 kB / 0.5885 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.3918, allocations: 0.7333 MB / 0.5892 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.3931, allocations: 1.542 MB / 0.5907 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.3948, allocations: 1.808 MB / 0.5925 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.4009, allocations: 5.939 MB / 0.5983 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4009, allocations: 0 / 0.5983 GB, free: 14.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4009, allocations: 3.938 kB / 0.5983 GB, free: 14.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001131/0.401, allocations: 0 / 0.5983 GB, free: 14.96 MB / 446.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.00654/0.4075, allocations: 4.028 MB / 0.6022 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4076, allocations: 19.95 kB / 0.6022 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009271/0.4168, allocations: 2.981 MB / 0.6051 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.4208, allocations: 1.783 MB / 0.6069 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.4209, allocations: 184.9 kB / 0.6071 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.4214, allocations: 239.8 kB / 0.6073 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.4352, allocations: 9.756 MB / 0.6168 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.548e-05/0.4352, allocations: 19.81 kB / 0.6168 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/0.4355, allocations: 111.8 kB / 0.6169 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/0.439, allocations: 2.365 MB / 0.6193 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.4538, allocations: 8.948 MB / 0.628 GB, free: 48 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/0.4928, allocations: 29.47 MB / 0.6568 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005895/0.4987, allocations: 2.472 MB / 0.6592 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.5001, allocations: 1.013 MB / 0.6602 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009983/0.5101, allocations: 4.915 MB / 0.665 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.5102, allocations: 55.03 kB / 0.665 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.155e-06/0.5102, allocations: 0 / 0.665 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007623/0.5178, allocations: 3.135 MB / 0.6681 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.5179, allocations: 111.5 kB / 0.6682 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004583/0.5225, allocations: 2.742 MB / 0.6709 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.5225, allocations: 41.7 kB / 0.6709 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.5248, allocations: 2.849 MB / 0.6737 GB, free: 348 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005808/0.5254, allocations: 0.539 MB / 0.6742 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.5266, allocations: 0.9369 MB / 0.6751 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5268, allocations: 301.1 kB / 0.6754 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.5289, allocations: 1.403 MB / 0.6768 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004449/0.5334, allocations: 4.229 MB / 0.6809 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007062/0.5404, allocations: 6.151 MB / 0.6869 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.14e-05/0.5405, allocations: 28 kB / 0.6869 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008837/0.5494, allocations: 5.459 MB / 0.6923 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.5494, allocations: 48 kB / 0.6923 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/0.5496, allocations: 100.9 kB / 0.6924 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.5497, allocations: 132 kB / 0.6925 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.5525, allocations: 1.002 MB / 0.6935 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000183/0.5527, allocations: 199.2 kB / 0.6937 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.5556, allocations: 0.6359 MB / 0.6943 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004454/0.556, allocations: 288 kB / 0.6946 GB, free: 8.055 MB / 0.5294 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.003143/0.5591, allocations: 1.973 MB / 0.6965 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/0.5596, allocations: 242.3 kB / 0.6968 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/0.5601, allocations: 289 kB / 0.697 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.5602, allocations: 20 kB / 0.6971 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.5602, allocations: 4 kB / 0.6971 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.5602, allocations: 11.92 kB / 0.6971 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.571, allocations: 6.164 MB / 0.7031 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.571, allocations: 8 kB / 0.7031 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/0.5716, allocations: 163.8 kB / 0.7033 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.5717, allocations: 12 kB / 0.7033 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.5717, allocations: 27.94 kB / 0.7033 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.5718, allocations: 15.98 kB / 0.7033 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5718, allocations: 11.94 kB / 0.7033 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/0.5743, allocations: 2.012 MB / 0.7053 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005705/0.5749, allocations: 246 kB / 0.7055 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/0.5753, allocations: 27.89 kB / 0.7056 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.576, allocations: 51.95 kB / 0.7056 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5761, allocations: 84.14 kB / 0.7057 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.77e-05/0.5762, allocations: 51.98 kB / 0.7057 GB, free: 12.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00279/0.579, allocations: 1.674 MB / 0.7074 GB, free: 10.67 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.579, allocations: 0 / 0.7074 GB, free: 10.67 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003652/0.5827, allocations: 1.028 MB / 0.7084 GB, free: 9.641 MB / 0.545 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.0003472/0.583, allocations: 158.8 kB / 0.7085 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005168/0.5882, allocations: 3.137 MB / 0.7116 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.5882, allocations: 4 kB / 0.7116 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5892, allocations: 0.7401 MB / 0.7123 GB, free: 5.625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.5908, allocations: 318.2 kB / 0.7126 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.6058, allocations: 8.256 MB / 0.7207 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004315/0.6101, allocations: 3.099 MB / 0.7237 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.6108, allocations: 207.4 kB / 0.7239 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.6108, allocations: 0 / 0.7239 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of Templates: time 0.3241/0.9349, allocations: 44.98 MB / 0.7678 GB, free: 127.9 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.413526276126504]