Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001908/0.001908, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.002335/0.002335, allocations: 214.8 kB / 24.48 MB, free: 3.93 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.95 MB / 361.6 MB, free: 3.91 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 75.88 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3264, allocations: 66.1 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01315/0.3396, allocations: 10.05 MB / 0.5717 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006976/0.3465, allocations: 2.92 MB / 0.5746 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.3481, allocations: 71.75 kB / 0.5746 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003286/0.3514, allocations: 1.541 MB / 0.5761 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.3552, allocations: 1.615 MB / 0.5777 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.3556, allocations: 123.8 kB / 0.5778 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004278/0.3599, allocations: 3.298 MB / 0.5811 GB, free: 272 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.3623, allocations: 1.89 MB / 0.5829 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.364, allocations: 1.172 MB / 0.584 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003459/0.3675, allocations: 2.523 MB / 0.5865 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005841/0.368, allocations: 232 kB / 0.5867 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.3694, allocations: 0.6162 MB / 0.5873 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.3711, allocations: 1.542 MB / 0.5888 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.3728, allocations: 1.276 MB / 0.5901 GB, free: 6.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.3807, allocations: 5.974 MB / 0.5959 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3807, allocations: 0 / 0.5959 GB, free: 0.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3807, allocations: 0 / 0.5959 GB, free: 0.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001543/0.3808, allocations: 0 / 0.5959 GB, free: 0.957 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.008212/0.3891, allocations: 4.025 MB / 0.5999 GB, free: 12.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3891, allocations: 12.03 kB / 0.5999 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.3996, allocations: 2.985 MB / 0.6028 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/0.4051, allocations: 1.791 MB / 0.6045 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.4053, allocations: 184.9 kB / 0.6047 GB, free: 7.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000966/0.4063, allocations: 243.8 kB / 0.6049 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01815/0.4244, allocations: 9.756 MB / 0.6145 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.897e-05/0.4245, allocations: 19.81 kB / 0.6145 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004067/0.4249, allocations: 111.8 kB / 0.6146 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.4289, allocations: 2.362 MB / 0.6169 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.4467, allocations: 8.928 MB / 0.6256 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04561/0.4923, allocations: 26.81 MB / 0.6518 GB, free: 6.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00692/0.4992, allocations: 2.465 MB / 0.6542 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.501, allocations: 1.021 MB / 0.6552 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.5129, allocations: 4.688 MB / 0.6598 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/0.513, allocations: 47.2 kB / 0.6598 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.771e-06/0.513, allocations: 0 / 0.6598 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008479/0.5215, allocations: 3.139 MB / 0.6629 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.5216, allocations: 115.5 kB / 0.663 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005276/0.5268, allocations: 2.777 MB / 0.6657 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.527, allocations: 45.69 kB / 0.6658 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002784/0.5298, allocations: 2.86 MB / 0.6685 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008163/0.5306, allocations: 0.5311 MB / 0.6691 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001951/0.5326, allocations: 0.9369 MB / 0.67 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003281/0.5329, allocations: 357.9 kB / 0.6703 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/0.5356, allocations: 1.403 MB / 0.6717 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005433/0.5411, allocations: 4.233 MB / 0.6758 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008443/0.5495, allocations: 6.159 MB / 0.6818 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/0.5497, allocations: 28 kB / 0.6819 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01134/0.561, allocations: 5.452 MB / 0.6872 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.5612, allocations: 51.94 kB / 0.6872 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/0.5613, allocations: 100 kB / 0.6873 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.5615, allocations: 132 kB / 0.6875 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.5649, allocations: 0.9981 MB / 0.6884 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002126/0.5651, allocations: 195.2 kB / 0.6886 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.5685, allocations: 0.6165 MB / 0.6892 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007107/0.5692, allocations: 284 kB / 0.6895 GB, free: 12.88 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.00415/0.5734, allocations: 1.981 MB / 0.6914 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005751/0.574, allocations: 234.3 kB / 0.6917 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.5748, allocations: 275.9 kB / 0.6919 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/0.5748, allocations: 16 kB / 0.6919 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.5748, allocations: 256 / 0.6919 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.5748, allocations: 11.97 kB / 0.6919 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.5863, allocations: 4.799 MB / 0.6966 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.5863, allocations: 12.19 kB / 0.6966 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/0.587, allocations: 167.7 kB / 0.6968 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.212e-05/0.5871, allocations: 12 kB / 0.6968 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.171e-05/0.5872, allocations: 24 kB / 0.6968 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.978e-05/0.5872, allocations: 19.92 kB / 0.6969 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.5872, allocations: 11.94 kB / 0.6969 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/0.59, allocations: 2.007 MB / 0.6988 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/0.5906, allocations: 226.1 kB / 0.699 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/0.591, allocations: 27.98 kB / 0.6991 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.5918, allocations: 47.95 kB / 0.6991 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5919, allocations: 84.14 kB / 0.6992 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5921, allocations: 51.98 kB / 0.6992 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003274/0.5953, allocations: 1.581 MB / 0.7008 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5953, allocations: 0 / 0.7008 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00459/0.5999, allocations: 1.047 MB / 0.7018 GB, free: 15.95 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.0005096/0.6004, allocations: 162.7 kB / 0.702 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005525/0.606, allocations: 3.135 MB / 0.705 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.606, allocations: 0 / 0.705 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.6071, allocations: 0.7431 MB / 0.7058 GB, free: 11.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.6089, allocations: 225.9 kB / 0.706 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/0.6271, allocations: 8.244 MB / 0.714 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00544/0.6325, allocations: 2.564 MB / 0.7165 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/0.6333, allocations: 195.4 kB / 0.7167 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of SimCode: time 1.973e-06/0.6333, allocations: 0 / 0.7167 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of Templates: time 0.3343/0.9676, allocations: 45.16 MB / 0.7608 GB, free: 132.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.377002710942179]