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.001439/0.001439, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001529/0.001529, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2378/0.2378, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.002065/0.002065, allocations: 63.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 66.04 MB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01326/0.3616, allocations: 10.04 MB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007606/0.3692, allocations: 2.92 MB / 0.5737 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.3709, allocations: 71.75 kB / 0.5738 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.3746, allocations: 1.545 MB / 0.5753 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004625/0.3792, allocations: 1.619 MB / 0.5769 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.3797, allocations: 119.8 kB / 0.577 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00505/0.3847, allocations: 3.293 MB / 0.5802 GB, free: 460 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.3875, allocations: 1.905 MB / 0.5821 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.3896, allocations: 1.164 MB / 0.5832 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003986/0.3935, allocations: 2.527 MB / 0.5857 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008467/0.3944, allocations: 228 kB / 0.5859 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.3959, allocations: 0.6124 MB / 0.5865 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.3976, allocations: 1.542 MB / 0.588 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.3993, allocations: 1.284 MB / 0.5893 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007591/0.4068, allocations: 5.963 MB / 0.5951 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4069, allocations: 0 / 0.5951 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4069, allocations: 0 / 0.5951 GB, free: 1.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001989/0.4071, allocations: 0 / 0.5951 GB, free: 1.141 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.01231/0.4194, allocations: 4.029 MB / 0.599 GB, free: 13.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4194, allocations: 8.031 kB / 0.599 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.4343, allocations: 2.989 MB / 0.6019 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/0.4394, allocations: 1.795 MB / 0.6037 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.4396, allocations: 180.9 kB / 0.6039 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008488/0.4405, allocations: 247.7 kB / 0.6041 GB, free: 7.801 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.4572, allocations: 9.76 MB / 0.6136 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/0.4572, allocations: 15.81 kB / 0.6137 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/0.4577, allocations: 115.8 kB / 0.6138 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004132/0.4618, allocations: 2.365 MB / 0.6161 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.4797, allocations: 8.928 MB / 0.6248 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04459/0.5243, allocations: 26.81 MB / 0.651 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006651/0.5309, allocations: 2.457 MB / 0.6534 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.5326, allocations: 1.009 MB / 0.6544 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.5441, allocations: 4.696 MB / 0.6589 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.5441, allocations: 47.16 kB / 0.659 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.99e-06/0.5441, allocations: 0 / 0.659 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008159/0.5523, allocations: 3.135 MB / 0.6621 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.5524, allocations: 119.5 kB / 0.6622 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/0.5565, allocations: 2.781 MB / 0.6649 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.5566, allocations: 41.69 kB / 0.6649 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002342/0.5589, allocations: 2.856 MB / 0.6677 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006284/0.5595, allocations: 0.5389 MB / 0.6682 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.5608, allocations: 0.933 MB / 0.6691 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.561, allocations: 361.9 kB / 0.6695 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.5633, allocations: 1.399 MB / 0.6709 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/0.5682, allocations: 4.229 MB / 0.675 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007966/0.5762, allocations: 6.151 MB / 0.681 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.645e-05/0.5763, allocations: 32 kB / 0.681 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009422/0.5857, allocations: 5.456 MB / 0.6864 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/0.5858, allocations: 51.94 kB / 0.6864 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001061/0.5859, allocations: 100 kB / 0.6865 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.586, allocations: 132 kB / 0.6866 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.5889, allocations: 0.9942 MB / 0.6876 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/0.589, allocations: 199.2 kB / 0.6878 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.5918, allocations: 0.6205 MB / 0.6884 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/0.5922, allocations: 284 kB / 0.6887 GB, free: 13.06 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.003028/0.5953, allocations: 1.977 MB / 0.6906 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.5957, allocations: 234.3 kB / 0.6908 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.5962, allocations: 284.1 kB / 0.6911 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.5962, allocations: 16 kB / 0.6911 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.5962, allocations: 4 kB / 0.6911 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5962, allocations: 3.984 kB / 0.6911 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008937/0.6052, allocations: 4.803 MB / 0.6958 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6052, allocations: 8 kB / 0.6958 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007569/0.606, allocations: 163.9 kB / 0.696 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.606, allocations: 15.94 kB / 0.696 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/0.606, allocations: 28 kB / 0.696 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.53e-05/0.6061, allocations: 15.98 kB / 0.696 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.6061, allocations: 11.94 kB / 0.696 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.6087, allocations: 1.999 MB / 0.698 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.6092, allocations: 234.2 kB / 0.6982 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/0.6094, allocations: 27.98 kB / 0.6982 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.61, allocations: 43.95 kB / 0.6983 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6102, allocations: 88.12 kB / 0.6984 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/0.6103, allocations: 51.98 kB / 0.6984 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002755/0.613, allocations: 1.581 MB / 0.7 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.613, allocations: 0 / 0.7 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003762/0.6168, allocations: 1.051 MB / 0.701 GB, free: 140 kB / 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.0003438/0.6171, allocations: 158.8 kB / 0.7011 GB, free: 15.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004778/0.6219, allocations: 3.135 MB / 0.7042 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6219, allocations: 3.938 kB / 0.7042 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009583/0.6229, allocations: 0.7411 MB / 0.7049 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6242, allocations: 223.8 kB / 0.7051 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.6367, allocations: 7.793 MB / 0.7127 GB, free: 3.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/0.6401, allocations: 2.548 MB / 0.7152 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003373/0.6435, allocations: 1.531 MB / 0.7167 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.6439, allocations: 167.4 kB / 0.7169 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.6439, allocations: 0 / 0.7169 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.3153/0.9592, allocations: 16.76 MB / 0.7333 GB, free: 154.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/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: 6.750903004780412]