Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 93.92 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 186.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1886/0.1886, allocations: 44.22 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003377, allocations: 8 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 61.93 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02521/0.1665, allocations: 24.75 MB / 496.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01313/0.1797, allocations: 5.783 MB / 0.4902 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006551/0.1863, allocations: 119.8 kB / 0.4903 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005137/0.1915, allocations: 1.28 MB / 0.4916 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.2032, allocations: 3.728 MB / 0.4952 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.2044, allocations: 119.9 kB / 0.4953 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2778/0.4822, allocations: 24.41 MB / 0.5192 GB, free: 19.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/0.4856, allocations: 2.6 MB / 0.5217 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.4868, allocations: 0.7949 MB / 0.5225 GB, free: 19.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05432/0.5411, allocations: 46.69 MB / 0.5681 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007822/0.542, allocations: 120 kB / 0.5682 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.5433, allocations: 0.5271 MB / 0.5687 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.5445, allocations: 1.266 MB / 0.57 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.5453, allocations: 0.7261 MB / 0.5707 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.5499, allocations: 4.537 MB / 0.5751 GB, free: 14.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.55, allocations: 0 / 0.5751 GB, free: 14.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.55, allocations: 7.281 kB / 0.5751 GB, free: 14.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.5502, allocations: 0 / 0.5751 GB, free: 14.81 MB / 414.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.007096/0.5573, allocations: 3.444 MB / 0.5785 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5574, allocations: 12.03 kB / 0.5785 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.5687, allocations: 3.59 MB / 0.582 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.5742, allocations: 1.794 MB / 0.5837 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.5744, allocations: 184.6 kB / 0.5839 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.5755, allocations: 247.1 kB / 0.5841 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.5914, allocations: 9.786 MB / 0.5937 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/0.5915, allocations: 18.5 kB / 0.5937 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003554/0.5918, allocations: 115.8 kB / 0.5938 GB, free: 11.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003382/0.5952, allocations: 2.369 MB / 0.5961 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.6118, allocations: 8.972 MB / 0.6049 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04534/0.6571, allocations: 29.78 MB / 0.634 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006498/0.6637, allocations: 3.483 MB / 0.6374 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.6746, allocations: 5.929 MB / 0.6432 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.6747, allocations: 43.22 kB / 0.6432 GB, free: 7.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=138): time 5.23e-06/0.6747, allocations: 5.75 kB / 0.6432 GB, free: 7.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=138): time 0.008229/0.683, allocations: 3.752 MB / 0.6469 GB, free: 3.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.6831, allocations: 115.5 kB / 0.647 GB, free: 3.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.6872, allocations: 2.711 MB / 0.6496 GB, free: 1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.6873, allocations: 41.7 kB / 0.6497 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001964/0.6893, allocations: 2.727 MB / 0.6523 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005109/0.6898, allocations: 0.5246 MB / 0.6529 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.69, allocations: 91.98 kB / 0.6529 GB, free: 13.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003385/0.6903, allocations: 0.5004 MB / 0.6534 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.6922, allocations: 1.387 MB / 0.6548 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004124/0.6964, allocations: 4.197 MB / 0.6589 GB, free: 6.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.6996, allocations: 2.425 MB / 0.6613 GB, free: 3.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/0.6996, allocations: 32 kB / 0.6613 GB, free: 3.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.0082/0.7078, allocations: 5.415 MB / 0.6666 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.7079, allocations: 51.95 kB / 0.6666 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.708, allocations: 104.1 kB / 0.6667 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.7082, allocations: 148 kB / 0.6669 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/0.7109, allocations: 0.991 MB / 0.6678 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001451/0.7111, allocations: 191.2 kB / 0.668 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.7138, allocations: 0.6161 MB / 0.6686 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.7142, allocations: 292 kB / 0.6689 GB, free: 11.82 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003363/0.7176, allocations: 1.974 MB / 0.6708 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.718, allocations: 228.9 kB / 0.671 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.7185, allocations: 296.7 kB / 0.6713 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.7185, allocations: 19.98 kB / 0.6713 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.7185, allocations: 4 kB / 0.6713 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.7185, allocations: 11.92 kB / 0.6714 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.7286, allocations: 6.253 MB / 0.6775 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.7286, allocations: 8 kB / 0.6775 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.7293, allocations: 171.7 kB / 0.6776 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.636e-05/0.7293, allocations: 12 kB / 0.6776 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/0.7294, allocations: 35.98 kB / 0.6777 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.7294, allocations: 16.5 kB / 0.6777 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.7294, allocations: 11.94 kB / 0.6777 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.7322, allocations: 2.726 MB / 0.6804 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/0.7328, allocations: 317.7 kB / 0.6807 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.7331, allocations: 35.97 kB / 0.6807 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.7337, allocations: 49.59 kB / 0.6808 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.7338, allocations: 88.27 kB / 0.6808 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/0.7339, allocations: 44 kB / 0.6809 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002559/0.7365, allocations: 1.654 MB / 0.6825 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7365, allocations: 0 / 0.6825 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003849/0.7404, allocations: 1.041 MB / 0.6835 GB, free: 12.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (96): * Single equations (assignments): 90 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/0.7407, allocations: 161.2 kB / 0.6837 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005153/0.7459, allocations: 3.235 MB / 0.6868 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.669e-06/0.7459, allocations: 4 kB / 0.6868 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.7469, allocations: 0.8028 MB / 0.6876 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.7483, allocations: 276.7 kB / 0.6879 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.7616, allocations: 9.405 MB / 0.6971 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/0.7648, allocations: 3.195 MB / 0.7002 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003579/0.7684, allocations: 1.548 MB / 0.7017 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.7688, allocations: 171.3 kB / 0.7019 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of SimCode: time 3.216e-06/0.7688, allocations: 4 kB / 0.7019 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of Templates: time 0.2697/1.039, allocations: 18.64 MB / 0.7201 GB, free: 188.9 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches