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.00187/0.00187, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001883/0.001883, allocations: 215.4 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.417/1.417, allocations: 230.6 MB / 258.2 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.2303/0.2303, allocations: 46.97 MB / 361.6 MB, free: 4.02 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.001903/0.001903, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.335, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0126/0.3476, allocations: 10.05 MB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006779/0.3544, allocations: 2.919 MB / 0.5745 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.3557, allocations: 71.75 kB / 0.5745 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.3588, allocations: 1.549 MB / 0.576 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00419/0.363, allocations: 1.619 MB / 0.5776 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.3634, allocations: 119.8 kB / 0.5777 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.368, allocations: 3.305 MB / 0.581 GB, free: 464 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/0.3706, allocations: 1.905 MB / 0.5828 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.3723, allocations: 1.164 MB / 0.584 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.3759, allocations: 2.603 MB / 0.5865 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007635/0.3766, allocations: 228 kB / 0.5867 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.3782, allocations: 0.6163 MB / 0.5873 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.38, allocations: 1.542 MB / 0.5888 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.3817, allocations: 1.284 MB / 0.5901 GB, free: 7.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00732/0.389, allocations: 5.963 MB / 0.5959 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3891, allocations: 0 / 0.5959 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3891, allocations: 0 / 0.5959 GB, free: 1.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.3892, allocations: 0 / 0.5959 GB, free: 1.066 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.007566/0.3968, allocations: 4.033 MB / 0.5998 GB, free: 12.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.3968, allocations: 8.031 kB / 0.5999 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009807/0.4066, allocations: 2.985 MB / 0.6028 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.4114, allocations: 1.795 MB / 0.6045 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.4115, allocations: 180.9 kB / 0.6047 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006367/0.4122, allocations: 243.8 kB / 0.6049 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.4291, allocations: 9.764 MB / 0.6145 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/0.4291, allocations: 11.88 kB / 0.6145 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.4295, allocations: 111.8 kB / 0.6146 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003938/0.4334, allocations: 2.373 MB / 0.6169 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/0.4525, allocations: 8.924 MB / 0.6256 GB, free: 2.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.4981, allocations: 26.81 MB / 0.6518 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006383/0.5045, allocations: 2.457 MB / 0.6542 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.5061, allocations: 1.009 MB / 0.6552 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.5168, allocations: 4.696 MB / 0.6598 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5168, allocations: 55.09 kB / 0.6598 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.138e-06/0.5168, allocations: 0 / 0.6598 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.0079/0.5247, allocations: 3.139 MB / 0.6629 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.5248, allocations: 115.5 kB / 0.663 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/0.5287, allocations: 2.784 MB / 0.6657 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.041e-05/0.5288, allocations: 37.7 kB / 0.6657 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002389/0.5311, allocations: 2.856 MB / 0.6685 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.5317, allocations: 0.5389 MB / 0.6691 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.533, allocations: 0.933 MB / 0.67 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002495/0.5333, allocations: 361.9 kB / 0.6703 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.5354, allocations: 1.402 MB / 0.6717 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/0.5401, allocations: 4.233 MB / 0.6758 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.5477, allocations: 6.147 MB / 0.6818 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.5478, allocations: 32 kB / 0.6819 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.009323/0.5571, allocations: 5.452 MB / 0.6872 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.5572, allocations: 51.94 kB / 0.6872 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/0.5573, allocations: 100 kB / 0.6873 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.5575, allocations: 132 kB / 0.6874 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/0.5604, allocations: 0.9981 MB / 0.6884 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001888/0.5606, allocations: 191.2 kB / 0.6886 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/0.5633, allocations: 0.6205 MB / 0.6892 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/0.5637, allocations: 280 kB / 0.6895 GB, free: 12.99 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.003053/0.5668, allocations: 1.981 MB / 0.6914 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.5671, allocations: 238.3 kB / 0.6916 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005904/0.5677, allocations: 279.9 kB / 0.6919 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.5678, allocations: 16 kB / 0.6919 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5678, allocations: 0 / 0.6919 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5678, allocations: 7.922 kB / 0.6919 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009109/0.5769, allocations: 4.803 MB / 0.6966 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.5769, allocations: 8 kB / 0.6966 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.5776, allocations: 167.8 kB / 0.6968 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.5776, allocations: 12 kB / 0.6968 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/0.5777, allocations: 28 kB / 0.6968 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.075e-05/0.5777, allocations: 20.17 kB / 0.6968 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/0.5777, allocations: 11.98 kB / 0.6969 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.5805, allocations: 1.999 MB / 0.6988 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006304/0.5811, allocations: 242.1 kB / 0.699 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.5814, allocations: 23.98 kB / 0.6991 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.582, allocations: 43.95 kB / 0.6991 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.5821, allocations: 88.14 kB / 0.6992 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.2e-05/0.5822, allocations: 48 kB / 0.6992 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002624/0.5848, allocations: 1.577 MB / 0.7008 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5848, allocations: 3.938 kB / 0.7008 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00375/0.5886, allocations: 1.055 MB / 0.7018 GB, free: 56 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.0003939/0.589, allocations: 159.2 kB / 0.702 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00509/0.5941, allocations: 3.135 MB / 0.705 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.5941, allocations: 0 / 0.705 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/0.5951, allocations: 0.7412 MB / 0.7057 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5965, allocations: 231.6 kB / 0.706 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.6091, allocations: 7.789 MB / 0.7136 GB, free: 3.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003496/0.6126, allocations: 2.548 MB / 0.7161 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003125/0.6158, allocations: 1.531 MB / 0.7176 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.6161, allocations: 163.4 kB / 0.7177 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.6161, allocations: 0 / 0.7177 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.2881/0.9043, allocations: 18.91 MB / 0.7362 GB, free: 154.3 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 -s cvode -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: 6.242965820012614]