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.001269/0.001269, allocations: 123.9 kB / 18.46 MB, free: 4.59 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.001372/0.001372, allocations: 205.8 kB / 21.4 MB, free: 1.645 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.476/1.476, allocations: 227.4 MB / 251.6 MB, free: 32 kB / 190.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.2521/0.2521, allocations: 46.16 MB / 351.1 MB, free: 14.25 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.00223/0.00223, allocations: 77.47 kB / 490.2 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 62.44 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.01333/0.146, allocations: 11.5 MB / 0.5509 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006814/0.1529, allocations: 3.068 MB / 0.5539 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.1542, allocations: 63.88 kB / 0.5539 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.1574, allocations: 1.573 MB / 0.5555 GB, free: 3.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003656/0.1611, allocations: 1.557 MB / 0.557 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1615, allocations: 119.8 kB / 0.5571 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004017/0.1655, allocations: 3.308 MB / 0.5603 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002725/0.1683, allocations: 2.195 MB / 0.5625 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.17, allocations: 1.144 MB / 0.5636 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003262/0.1733, allocations: 2.423 MB / 0.566 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006208/0.1739, allocations: 228 kB / 0.5662 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1753, allocations: 0.706 MB / 0.5669 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.1767, allocations: 1.496 MB / 0.5683 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.1784, allocations: 1.808 MB / 0.5701 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006273/0.1847, allocations: 5.931 MB / 0.5759 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1848, allocations: 0 / 0.5759 GB, free: 14.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1848, allocations: 0 / 0.5759 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.1849, allocations: 0 / 0.5759 GB, free: 14.95 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.006546/0.1914, allocations: 4.105 MB / 0.5799 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1915, allocations: 8.031 kB / 0.5799 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009797/0.2013, allocations: 2.993 MB / 0.5828 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.2047, allocations: 1.844 MB / 0.5846 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.2048, allocations: 184.9 kB / 0.5848 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005046/0.2053, allocations: 243.8 kB / 0.5851 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.2222, allocations: 9.753 MB / 0.5946 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.137e-05/0.2223, allocations: 19.81 kB / 0.5946 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/0.2227, allocations: 115.8 kB / 0.5947 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004064/0.2268, allocations: 2.365 MB / 0.597 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3012/0.528, allocations: 8.938 MB / 0.6057 GB, free: 52.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04491/0.5729, allocations: 29.57 MB / 0.6346 GB, free: 36.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.5789, allocations: 3.468 MB / 0.638 GB, free: 33.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.5803, allocations: 1.106 MB / 0.6391 GB, free: 33.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008289/0.5886, allocations: 6.472 MB / 0.6454 GB, free: 28.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5886, allocations: 54.48 kB / 0.6455 GB, free: 28.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 3.407e-06/0.5886, allocations: 0 / 0.6455 GB, free: 28.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=135): time 0.006324/0.595, allocations: 3.139 MB / 0.6485 GB, free: 27.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.595, allocations: 118.5 kB / 0.6486 GB, free: 27.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.598, allocations: 2.737 MB / 0.6513 GB, free: 26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-05/0.5981, allocations: 43.14 kB / 0.6514 GB, free: 25.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009942/0.5991, allocations: 2.843 MB / 0.6541 GB, free: 23.63 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.5995, allocations: 0.5488 MB / 0.6547 GB, free: 23.17 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00082/0.6003, allocations: 0.9392 MB / 0.6556 GB, free: 22.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.577e-05/0.6003, allocations: 301.1 kB / 0.6559 GB, free: 22.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.6018, allocations: 1.405 MB / 0.6572 GB, free: 21.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.6041, allocations: 4.225 MB / 0.6614 GB, free: 15.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.6082, allocations: 6.151 MB / 0.6674 GB, free: 8.289 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/0.6082, allocations: 28 kB / 0.6674 GB, free: 8.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.006118/0.6144, allocations: 5.468 MB / 0.6727 GB, free: 2.793 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.6144, allocations: 44 kB / 0.6728 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.73e-05/0.6145, allocations: 100 kB / 0.6729 GB, free: 2.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-05/0.6146, allocations: 132 kB / 0.673 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.6169, allocations: 1.001 MB / 0.674 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.048e-05/0.617, allocations: 199.2 kB / 0.6742 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.6193, allocations: 0.6287 MB / 0.6748 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.6196, allocations: 284 kB / 0.6751 GB, free: 428 kB / 462.1 MB 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.002849/0.6225, allocations: 1.975 MB / 0.677 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003764/0.6228, allocations: 238.4 kB / 0.6772 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.6234, allocations: 288.8 kB / 0.6775 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/0.6234, allocations: 18.27 kB / 0.6775 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.6235, allocations: 3.938 kB / 0.6775 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.6235, allocations: 7.984 kB / 0.6775 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00969/0.6332, allocations: 6.199 MB / 0.6836 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/0.6332, allocations: 16.03 kB / 0.6836 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.6338, allocations: 167.7 kB / 0.6837 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.6338, allocations: 12 kB / 0.6838 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.6339, allocations: 27.75 kB / 0.6838 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.668e-05/0.6339, allocations: 19.92 kB / 0.6838 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.634, allocations: 8 kB / 0.6838 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.6365, allocations: 2.007 MB / 0.6858 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005665/0.6371, allocations: 323.1 kB / 0.6861 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.6373, allocations: 27.94 kB / 0.6861 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.6379, allocations: 47.78 kB / 0.6862 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6381, allocations: 84.23 kB / 0.6862 GB, free: 4.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.645e-05/0.6382, allocations: 47.98 kB / 0.6863 GB, free: 4.629 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002633/0.6408, allocations: 1.674 MB / 0.6879 GB, free: 2.945 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6408, allocations: 0 / 0.6879 GB, free: 2.945 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00472/0.6456, allocations: 1.039 MB / 0.6889 GB, free: 1.906 MB / 478.1 MB 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.0004052/0.646, allocations: 150.9 kB / 0.6891 GB, free: 1.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006081/0.6521, allocations: 3.291 MB / 0.6923 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6521, allocations: 3.938 kB / 0.6923 GB, free: 14.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.6533, allocations: 0.7943 MB / 0.6931 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.655, allocations: 297.3 kB / 0.6933 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.6689, allocations: 7.797 MB / 0.701 GB, free: 5.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003777/0.6728, allocations: 3.095 MB / 0.704 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003418/0.6762, allocations: 1.552 MB / 0.7055 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.6766, allocations: 171.4 kB / 0.7057 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6766, allocations: 0 / 0.7057 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of Templates: time 0.0437/0.7203, allocations: 17.64 MB / 0.7229 GB, free: 15.07 MB / 0.5137 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.392301424406469]