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.001692/0.001692, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002028/0.002028, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.493/1.493, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2316/0.2316, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.002135/0.002135, allocations: 71.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3177, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01349/0.3311, allocations: 10.06 MB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007136/0.3383, allocations: 2.912 MB / 0.5745 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.3406, allocations: 71.75 kB / 0.5745 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.3444, allocations: 1.549 MB / 0.5761 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.3491, allocations: 1.619 MB / 0.5776 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.3496, allocations: 115.8 kB / 0.5777 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005165/0.3548, allocations: 3.297 MB / 0.581 GB, free: 492 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00299/0.3578, allocations: 1.897 MB / 0.5828 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.3599, allocations: 1.168 MB / 0.584 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003976/0.3639, allocations: 2.523 MB / 0.5864 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008135/0.3647, allocations: 232 kB / 0.5866 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.3662, allocations: 0.6162 MB / 0.5872 GB, free: 10 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.3681, allocations: 1.542 MB / 0.5887 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.3699, allocations: 1.272 MB / 0.59 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008117/0.3781, allocations: 5.963 MB / 0.5958 GB, free: 1.184 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.3781, allocations: 0 / 0.5958 GB, free: 1.184 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3781, allocations: 0 / 0.5958 GB, free: 1.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.3783, allocations: 0 / 0.5958 GB, free: 1.184 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.01037/0.3887, allocations: 4.029 MB / 0.5997 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.3887, allocations: 12.03 kB / 0.5998 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.3992, allocations: 2.993 MB / 0.6027 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.4043, allocations: 1.787 MB / 0.6044 GB, free: 8.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.4045, allocations: 188.9 kB / 0.6046 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.4056, allocations: 239.8 kB / 0.6048 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.4237, allocations: 9.76 MB / 0.6144 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/0.4237, allocations: 19.86 kB / 0.6144 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.4241, allocations: 111.8 kB / 0.6145 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004029/0.4282, allocations: 2.369 MB / 0.6168 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.4471, allocations: 8.927 MB / 0.6255 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.046/0.4931, allocations: 26.8 MB / 0.6517 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/0.4997, allocations: 2.469 MB / 0.6541 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.5014, allocations: 1.013 MB / 0.6551 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.512, allocations: 4.7 MB / 0.6597 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/0.5121, allocations: 43.16 kB / 0.6597 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.989e-06/0.5121, allocations: 0 / 0.6597 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.0083/0.5204, allocations: 3.139 MB / 0.6628 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.261e-05/0.5205, allocations: 111.5 kB / 0.6629 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.5248, allocations: 2.777 MB / 0.6656 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.525, allocations: 41.7 kB / 0.6656 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002492/0.5275, allocations: 2.86 MB / 0.6684 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007184/0.5282, allocations: 0.5389 MB / 0.669 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/0.5295, allocations: 0.933 MB / 0.6699 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.5298, allocations: 357.9 kB / 0.6702 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.532, allocations: 1.41 MB / 0.6716 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004986/0.537, allocations: 4.225 MB / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008195/0.5451, allocations: 6.151 MB / 0.6817 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/0.5453, allocations: 28 kB / 0.6818 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01037/0.5556, allocations: 5.451 MB / 0.6871 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.5557, allocations: 55.88 kB / 0.6871 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/0.5558, allocations: 100 kB / 0.6872 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001521/0.556, allocations: 132 kB / 0.6874 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.5591, allocations: 0.9949 MB / 0.6883 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001879/0.5593, allocations: 203.2 kB / 0.6885 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/0.5624, allocations: 0.6127 MB / 0.6891 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/0.5629, allocations: 292 kB / 0.6894 GB, free: 13.1 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.005136/0.5681, allocations: 1.97 MB / 0.6913 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006858/0.5688, allocations: 234.3 kB / 0.6915 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.5695, allocations: 279.8 kB / 0.6918 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/0.5695, allocations: 20.12 kB / 0.6918 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.5695, allocations: 0 / 0.6918 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5696, allocations: 11.97 kB / 0.6918 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009758/0.5793, allocations: 4.803 MB / 0.6965 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.5793, allocations: 8 kB / 0.6965 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006621/0.58, allocations: 167.7 kB / 0.6967 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.58, allocations: 12 kB / 0.6967 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.088e-05/0.5801, allocations: 31.98 kB / 0.6967 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/0.5801, allocations: 15.94 kB / 0.6968 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.5801, allocations: 12.45 kB / 0.6968 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.583, allocations: 2.003 MB / 0.6987 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.5835, allocations: 230.1 kB / 0.6989 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.5837, allocations: 24 kB / 0.699 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.5844, allocations: 47.94 kB / 0.699 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.5846, allocations: 92.12 kB / 0.6991 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-05/0.5847, allocations: 44 kB / 0.6991 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002648/0.5873, allocations: 1.585 MB / 0.7007 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5873, allocations: 0 / 0.7007 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003857/0.5912, allocations: 1.047 MB / 0.7017 GB, free: 184 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.0003957/0.5916, allocations: 158.8 kB / 0.7019 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005442/0.597, allocations: 3.142 MB / 0.7049 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.5971, allocations: 4 kB / 0.7049 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.5981, allocations: 0.732 MB / 0.7057 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5996, allocations: 228 kB / 0.7059 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.6143, allocations: 8.244 MB / 0.7139 GB, free: 3.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003813/0.6181, allocations: 2.556 MB / 0.7164 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.6188, allocations: 199.4 kB / 0.7166 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of SimCode: time 1.442e-06/0.6188, allocations: 0 / 0.7166 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of Templates: time 0.3191/0.9378, allocations: 45.16 MB / 0.7607 GB, free: 132.8 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.409655208233744]