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.001312/0.001312, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.00149/0.00149, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.432/1.432, allocations: 230.3 MB / 258 MB, free: 8.266 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.2248/0.2248, allocations: 46.88 MB / 361.3 MB, free: 4.453 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.002287/0.002287, allocations: 83.84 kB / 0.497 GB, free: 7.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3525, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.0139/0.3664, allocations: 11.57 MB / 0.5728 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00747/0.3739, allocations: 3.083 MB / 0.5758 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.3756, allocations: 67.75 kB / 0.5759 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003492/0.379, allocations: 1.611 MB / 0.5775 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.3836, allocations: 1.615 MB / 0.5791 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.3842, allocations: 115.9 kB / 0.5792 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005324/0.3895, allocations: 3.312 MB / 0.5824 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.3919, allocations: 1.703 MB / 0.5841 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.3938, allocations: 1.164 MB / 0.5852 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003939/0.3977, allocations: 2.606 MB / 0.5877 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007346/0.3984, allocations: 228 kB / 0.588 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.4002, allocations: 0.7294 MB / 0.5887 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.402, allocations: 1.542 MB / 0.5902 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.4043, allocations: 1.812 MB / 0.5919 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007647/0.412, allocations: 5.939 MB / 0.5977 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.412, allocations: 0 / 0.5977 GB, free: 15.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.412, allocations: 0 / 0.5977 GB, free: 15.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.4122, allocations: 3.938 kB / 0.5978 GB, free: 15.37 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.007782/0.42, allocations: 4.029 MB / 0.6017 GB, free: 11.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.42, allocations: 8.031 kB / 0.6017 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.4311, allocations: 2.993 MB / 0.6046 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/0.4359, allocations: 1.779 MB / 0.6064 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/0.4361, allocations: 184.9 kB / 0.6065 GB, free: 6.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000665/0.4368, allocations: 239.8 kB / 0.6068 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.4542, allocations: 9.756 MB / 0.6163 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.858e-05/0.4543, allocations: 19.81 kB / 0.6163 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007716/0.455, allocations: 107.8 kB / 0.6164 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004193/0.4592, allocations: 2.369 MB / 0.6187 GB, free: 9.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.4775, allocations: 8.944 MB / 0.6275 GB, free: 468 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/0.5264, allocations: 29.47 MB / 0.6562 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/0.5331, allocations: 2.457 MB / 0.6586 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.5349, allocations: 1.026 MB / 0.6596 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/0.546, allocations: 4.911 MB / 0.6644 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.546, allocations: 47.22 kB / 0.6645 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.708e-06/0.546, allocations: 0 / 0.6645 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.008628/0.5547, allocations: 3.139 MB / 0.6675 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5548, allocations: 119.5 kB / 0.6677 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006424/0.5612, allocations: 2.73 MB / 0.6703 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5613, allocations: 41.7 kB / 0.6704 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/0.5641, allocations: 2.853 MB / 0.6731 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007453/0.5649, allocations: 0.5466 MB / 0.6737 GB, free: 212 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.5667, allocations: 0.9369 MB / 0.6746 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5668, allocations: 301.1 kB / 0.6749 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.5693, allocations: 1.403 MB / 0.6763 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00495/0.5742, allocations: 4.233 MB / 0.6804 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008531/0.5828, allocations: 6.143 MB / 0.6864 GB, free: 364 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.5829, allocations: 35.98 kB / 0.6864 GB, free: 328 kB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01105/0.5939, allocations: 5.459 MB / 0.6918 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.871e-05/0.594, allocations: 48 kB / 0.6918 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/0.5942, allocations: 100 kB / 0.6919 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.5943, allocations: 132 kB / 0.692 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003134/0.5975, allocations: 0.9949 MB / 0.693 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002038/0.5977, allocations: 199.1 kB / 0.6932 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/0.6012, allocations: 0.6359 MB / 0.6938 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005953/0.6018, allocations: 284 kB / 0.6941 GB, free: 8.473 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.003752/0.6056, allocations: 1.982 MB / 0.696 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.6061, allocations: 246.3 kB / 0.6962 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.6068, allocations: 284.8 kB / 0.6965 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/0.6069, allocations: 16 kB / 0.6965 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.6069, allocations: 0 / 0.6965 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6069, allocations: 7.984 kB / 0.6965 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.6195, allocations: 6.168 MB / 0.7026 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.6195, allocations: 12 kB / 0.7026 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.6202, allocations: 163.7 kB / 0.7027 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/0.6202, allocations: 12 kB / 0.7027 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.6203, allocations: 28 kB / 0.7028 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-05/0.6203, allocations: 19.92 kB / 0.7028 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/0.6203, allocations: 16.11 kB / 0.7028 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.623, allocations: 2.011 MB / 0.7048 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.6235, allocations: 246 kB / 0.705 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.6239, allocations: 27.98 kB / 0.705 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.6246, allocations: 43.95 kB / 0.7051 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.6248, allocations: 88.14 kB / 0.7052 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.802e-05/0.6249, allocations: 55.97 kB / 0.7052 GB, free: 12.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002956/0.6279, allocations: 1.666 MB / 0.7068 GB, free: 11.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6279, allocations: 0 / 0.7068 GB, free: 11.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004174/0.632, allocations: 1.035 MB / 0.7078 GB, free: 10.05 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.0004891/0.6325, allocations: 150.9 kB / 0.708 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005488/0.638, allocations: 3.146 MB / 0.7111 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.638, allocations: 0 / 0.7111 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.6391, allocations: 0.736 MB / 0.7118 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6411, allocations: 294.3 kB / 0.7121 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.6555, allocations: 7.817 MB / 0.7197 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004584/0.66, allocations: 3.092 MB / 0.7227 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003623/0.6637, allocations: 1.556 MB / 0.7242 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.6642, allocations: 167.4 kB / 0.7244 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of SimCode: time 1.563e-06/0.6642, allocations: 0 / 0.7244 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.3021/0.9663, allocations: 21.02 MB / 0.7449 GB, free: 150.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins/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: 6.671525378711522]