Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001781/0.001781, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.002209/0.002209, allocations: 209.6 kB / 25.13 MB, free: 3.605 MB / 14.72 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2175/0.2175, allocations: 46.94 MB / 362 MB, free: 4.215 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 83.86 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3506, allocations: 66.08 MB / 0.5623 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01496/0.3655, allocations: 11.47 MB / 0.5735 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.3728, allocations: 3.056 MB / 0.5765 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.3746, allocations: 71.75 kB / 0.5766 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.3781, allocations: 1.596 MB / 0.5781 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004504/0.3826, allocations: 1.627 MB / 0.5797 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.3831, allocations: 115.8 kB / 0.5798 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005523/0.3886, allocations: 3.294 MB / 0.583 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.3918, allocations: 1.909 MB / 0.5849 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.394, allocations: 1.16 MB / 0.586 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.3983, allocations: 2.601 MB / 0.5886 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008008/0.3991, allocations: 232 kB / 0.5888 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.4006, allocations: 0.6241 MB / 0.5894 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.4027, allocations: 1.546 MB / 0.5909 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.405, allocations: 1.805 MB / 0.5927 GB, free: 5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007751/0.4127, allocations: 5.963 MB / 0.5985 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4127, allocations: 0 / 0.5985 GB, free: 15.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4128, allocations: 4 kB / 0.5985 GB, free: 15.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002206/0.413, allocations: 7.875 kB / 0.5985 GB, free: 15 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.008402/0.4214, allocations: 4.022 MB / 0.6024 GB, free: 10.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4214, allocations: 12.03 kB / 0.6025 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00956/0.431, allocations: 2.993 MB / 0.6054 GB, free: 7.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/0.4351, allocations: 1.775 MB / 0.6071 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.4352, allocations: 188.9 kB / 0.6073 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.4359, allocations: 239.8 kB / 0.6075 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/0.453, allocations: 9.76 MB / 0.6171 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/0.4531, allocations: 15.88 kB / 0.6171 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.4534, allocations: 111.8 kB / 0.6172 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00374/0.4572, allocations: 2.362 MB / 0.6195 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/0.4759, allocations: 8.951 MB / 0.6282 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.5209, allocations: 29.34 MB / 0.6569 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00613/0.527, allocations: 2.472 MB / 0.6593 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.5286, allocations: 1.017 MB / 0.6603 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009688/0.5383, allocations: 4.9 MB / 0.6651 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.5383, allocations: 51.09 kB / 0.6651 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.817e-06/0.5383, allocations: 0 / 0.6651 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007862/0.5462, allocations: 3.143 MB / 0.6682 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.5463, allocations: 115.5 kB / 0.6683 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/0.5503, allocations: 2.742 MB / 0.671 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.5504, allocations: 37.7 kB / 0.671 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.5527, allocations: 2.845 MB / 0.6738 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/0.5534, allocations: 0.5389 MB / 0.6743 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.5546, allocations: 0.9368 MB / 0.6752 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5547, allocations: 309.1 kB / 0.6755 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.5568, allocations: 1.399 MB / 0.6769 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/0.5617, allocations: 4.233 MB / 0.681 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/0.5695, allocations: 6.151 MB / 0.687 GB, free: 116 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.348e-05/0.5696, allocations: 32 kB / 0.6871 GB, free: 84 kB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009307/0.5789, allocations: 5.463 MB / 0.6924 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.579, allocations: 51.28 kB / 0.6924 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.5791, allocations: 100 kB / 0.6925 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.5792, allocations: 132 kB / 0.6927 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/0.5821, allocations: 0.9981 MB / 0.6936 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/0.5822, allocations: 199.2 kB / 0.6938 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.5849, allocations: 0.6359 MB / 0.6945 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/0.5853, allocations: 284 kB / 0.6947 GB, free: 8.227 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.002956/0.5882, allocations: 1.977 MB / 0.6967 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/0.5886, allocations: 242.3 kB / 0.6969 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.5891, allocations: 288.8 kB / 0.6972 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.5892, allocations: 20 kB / 0.6972 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.5892, allocations: 0 / 0.6972 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5892, allocations: 3.984 kB / 0.6972 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009715/0.5989, allocations: 6.164 MB / 0.7032 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.5989, allocations: 8 kB / 0.7032 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.5996, allocations: 167.7 kB / 0.7034 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/0.5996, allocations: 12 kB / 0.7034 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.5997, allocations: 27.98 kB / 0.7034 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.005e-05/0.5997, allocations: 19.92 kB / 0.7034 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5997, allocations: 8 kB / 0.7034 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.6023, allocations: 2.012 MB / 0.7054 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.6028, allocations: 246 kB / 0.7056 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.603, allocations: 24 kB / 0.7057 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.6036, allocations: 55.88 kB / 0.7057 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6037, allocations: 80.39 kB / 0.7058 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.6038, allocations: 51.98 kB / 0.7058 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002511/0.6063, allocations: 1.67 MB / 0.7075 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6063, allocations: 0 / 0.7075 GB, free: 10.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004155/0.6105, allocations: 1.032 MB / 0.7085 GB, free: 9.824 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.0004043/0.6109, allocations: 158.8 kB / 0.7086 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005354/0.6163, allocations: 3.137 MB / 0.7117 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.6163, allocations: 7.938 kB / 0.7117 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6173, allocations: 0.74 MB / 0.7124 GB, free: 5.805 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.6188, allocations: 304.1 kB / 0.7127 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.6322, allocations: 7.813 MB / 0.7203 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/0.6359, allocations: 3.095 MB / 0.7234 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003343/0.6393, allocations: 1.552 MB / 0.7249 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.6397, allocations: 171.4 kB / 0.725 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/0.6397, allocations: 0 / 0.725 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of Templates: time 0.2968/0.9365, allocations: 21.01 MB / 0.7456 GB, free: 151.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 6.57788790599443]