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.001389/0.001389, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00152/0.00152, allocations: 205.1 kB / 23.72 MB, free: 4.391 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.487/1.487, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2355/0.2355, allocations: 46.95 MB / 360.8 MB, free: 4.039 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.002626/0.002626, allocations: 83.88 kB / 0.4966 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3652, allocations: 66.09 MB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01399/0.3792, allocations: 10.06 MB / 0.571 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.3869, allocations: 2.919 MB / 0.5738 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.3889, allocations: 71.75 kB / 0.5739 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.3925, allocations: 1.541 MB / 0.5754 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.3968, allocations: 1.619 MB / 0.577 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.3974, allocations: 111.8 kB / 0.5771 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004818/0.4022, allocations: 3.301 MB / 0.5803 GB, free: 320 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.4048, allocations: 1.905 MB / 0.5822 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.4067, allocations: 1.164 MB / 0.5833 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004064/0.4107, allocations: 2.524 MB / 0.5858 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008456/0.4116, allocations: 232 kB / 0.586 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.4131, allocations: 0.6162 MB / 0.5866 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.4147, allocations: 1.538 MB / 0.5881 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0017/0.4164, allocations: 1.272 MB / 0.5893 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007975/0.4244, allocations: 5.978 MB / 0.5952 GB, free: 1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4244, allocations: 0 / 0.5952 GB, free: 1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4244, allocations: 0 / 0.5952 GB, free: 1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.4246, allocations: 3.938 kB / 0.5952 GB, free: 0.9961 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.009236/0.4339, allocations: 4.026 MB / 0.5991 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4339, allocations: 12.03 kB / 0.5991 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.4441, allocations: 2.985 MB / 0.602 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.4485, allocations: 1.791 MB / 0.6038 GB, free: 8.086 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.4487, allocations: 184.9 kB / 0.604 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006295/0.4493, allocations: 239.8 kB / 0.6042 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.4656, allocations: 9.76 MB / 0.6137 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.4657, allocations: 19.81 kB / 0.6138 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/0.4661, allocations: 111.8 kB / 0.6139 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003698/0.4698, allocations: 2.365 MB / 0.6162 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.4869, allocations: 8.932 MB / 0.6249 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04271/0.5296, allocations: 26.8 MB / 0.6511 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006704/0.5363, allocations: 2.461 MB / 0.6535 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.538, allocations: 1.017 MB / 0.6545 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/0.5486, allocations: 4.692 MB / 0.659 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.5486, allocations: 43.22 kB / 0.6591 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.438e-06/0.5486, allocations: 0 / 0.6591 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135): time 0.007821/0.5564, allocations: 3.143 MB / 0.6622 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.5565, allocations: 115.5 kB / 0.6623 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.5605, allocations: 2.781 MB / 0.665 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.5607, allocations: 37.7 kB / 0.665 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.5629, allocations: 2.86 MB / 0.6678 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006334/0.5635, allocations: 0.5389 MB / 0.6683 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.5647, allocations: 0.933 MB / 0.6692 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.5648, allocations: 353.9 kB / 0.6696 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/0.5669, allocations: 1.406 MB / 0.671 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/0.5711, allocations: 4.229 MB / 0.6751 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/0.5783, allocations: 6.158 MB / 0.6811 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.251e-05/0.5784, allocations: 28.25 kB / 0.6811 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.008594/0.587, allocations: 5.452 MB / 0.6865 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.5871, allocations: 51.94 kB / 0.6865 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001063/0.5872, allocations: 104 kB / 0.6866 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.5873, allocations: 140 kB / 0.6867 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.5902, allocations: 0.9942 MB / 0.6877 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001647/0.5903, allocations: 195.3 kB / 0.6879 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.593, allocations: 0.6126 MB / 0.6885 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/0.5933, allocations: 291.9 kB / 0.6888 GB, free: 12.91 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.003025/0.5964, allocations: 1.967 MB / 0.6907 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.5967, allocations: 242.3 kB / 0.6909 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/0.5972, allocations: 283.8 kB / 0.6912 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.5972, allocations: 16 kB / 0.6912 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5973, allocations: 0 / 0.6912 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5973, allocations: 7.984 kB / 0.6912 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008105/0.6054, allocations: 4.792 MB / 0.6959 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.6054, allocations: 8 kB / 0.6959 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/0.606, allocations: 171.8 kB / 0.6961 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.606, allocations: 12 kB / 0.6961 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.6061, allocations: 28 kB / 0.6961 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/0.6061, allocations: 15.94 kB / 0.6961 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.6061, allocations: 11.94 kB / 0.6961 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.6086, allocations: 2.003 MB / 0.6981 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.609, allocations: 234.1 kB / 0.6983 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.6092, allocations: 24 kB / 0.6983 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/0.6099, allocations: 47.95 kB / 0.6984 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.61, allocations: 92.11 kB / 0.6985 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.6101, allocations: 48 kB / 0.6985 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002227/0.6123, allocations: 1.581 MB / 0.7001 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6123, allocations: 0 / 0.7001 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003539/0.6159, allocations: 1.047 MB / 0.7011 GB, free: 4 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.0003551/0.6162, allocations: 166.8 kB / 0.7012 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005022/0.6212, allocations: 3.126 MB / 0.7043 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.6213, allocations: 4.812 kB / 0.7043 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6223, allocations: 0.7412 MB / 0.705 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.6237, allocations: 217.6 kB / 0.7052 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.6384, allocations: 7.793 MB / 0.7128 GB, free: 3.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/0.6423, allocations: 2.56 MB / 0.7153 GB, free: 1.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003453/0.6457, allocations: 1.531 MB / 0.7168 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004036/0.6461, allocations: 163.4 kB / 0.717 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.6461, allocations: 0 / 0.717 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.3381/0.9843, allocations: 16.76 MB / 0.7334 GB, free: 154.6 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.1.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.656832939013839]