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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 225.5 MB / 234.4 MB, free: 14.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009067/0.0009069, allocations: 105.4 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2872/0.2872, allocations: 45.14 MB / 383.3 MB, free: 40.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.524e-06, allocations: 0 / 452.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 63.24 MB / 0.5038 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.4041, allocations: 98.53 MB / 0.6 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4044, allocations: 79.91 kB / 0.6001 GB, free: 11.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1875/0.5919, allocations: 73.84 MB / 0.6722 GB, free: 1.234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001675/0.5921, allocations: 67.94 kB / 0.6722 GB, free: 1.168 MB / 490.7 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.01195/0.6041, allocations: 3.607 MB / 0.6758 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.6041, allocations: 8.031 kB / 0.6758 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.6182, allocations: 2.674 MB / 0.6784 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007193/0.6254, allocations: 2.446 MB / 0.6808 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/0.6257, allocations: 120 kB / 0.6809 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002192/0.6279, allocations: 204 kB / 0.6811 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01308/0.641, allocations: 6.801 MB / 0.6877 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2531/0.8942, allocations: 8.976 MB / 0.6965 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.711e-05/0.8943, allocations: 20 kB / 0.6965 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004686/0.8948, allocations: 14.09 kB / 0.6965 GB, free: 90.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009309/0.8957, allocations: 1.162 MB / 0.6976 GB, free: 90.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04527/0.941, allocations: 33.15 MB / 0.73 GB, free: 76.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.9439, allocations: 2.699 MB / 0.7327 GB, free: 75.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.945, allocations: 0.8988 MB / 0.7335 GB, free: 75.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.9461, allocations: 1.625 MB / 0.7351 GB, free: 73.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.9462, allocations: 48.97 kB / 0.7352 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=164): time 5.541e-06/0.9462, allocations: 0 / 0.7352 GB, free: 73.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=164): time 0.004332/0.9505, allocations: 2.301 MB / 0.7374 GB, free: 73.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.9506, allocations: 91.58 kB / 0.7375 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003187/0.9538, allocations: 2.322 MB / 0.7398 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.9539, allocations: 28.22 kB / 0.7398 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.9551, allocations: 2.668 MB / 0.7424 GB, free: 71.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.9555, allocations: 0.5976 MB / 0.743 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.9557, allocations: 0 / 0.743 GB, free: 71.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002347/0.9559, allocations: 0.5247 MB / 0.7435 GB, free: 71.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.9575, allocations: 1.442 MB / 0.7449 GB, free: 71.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.9603, allocations: 4.576 MB / 0.7494 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.9634, allocations: 2.669 MB / 0.752 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.196e-05/0.9635, allocations: 38.78 kB / 0.752 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.008237/0.9717, allocations: 5.329 MB / 0.7572 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.9718, allocations: 2.844 kB / 0.7572 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.9719, allocations: 113.1 kB / 0.7573 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.972, allocations: 164.3 kB / 0.7575 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/0.9751, allocations: 1.135 MB / 0.7586 GB, free: 66.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001372/0.9752, allocations: 222.9 kB / 0.7588 GB, free: 66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/0.9785, allocations: 0.5647 MB / 0.7594 GB, free: 65.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/0.9789, allocations: 336.8 kB / 0.7597 GB, free: 65.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 513 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (619): * Single equations (assignments): 613 * 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 prepare postOptimizeDAE: time 0.0004886/0.9794, allocations: 380.6 kB / 0.76 GB, free: 65.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.9797, allocations: 239.2 kB / 0.7603 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.9825, allocations: 2.134 MB / 0.7624 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.864e-05/0.9826, allocations: 17.69 kB / 0.7624 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9826, allocations: 0 / 0.7624 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.9826, allocations: 3.75 kB / 0.7624 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009773/0.9924, allocations: 6.686 MB / 0.7689 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.9924, allocations: 10 kB / 0.7689 GB, free: 63.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/0.9933, allocations: 200.9 kB / 0.7691 GB, free: 63.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/0.9933, allocations: 20.56 kB / 0.7691 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.562e-05/0.9934, allocations: 29.53 kB / 0.7692 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/0.9934, allocations: 25.77 kB / 0.7692 GB, free: 63.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.9935, allocations: 14.94 kB / 0.7692 GB, free: 63.78 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003047/0.9965, allocations: 3.221 MB / 0.7723 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.9972, allocations: 336.2 kB / 0.7727 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/0.9975, allocations: 20.16 kB / 0.7727 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/0.9982, allocations: 23.45 kB / 0.7727 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.9984, allocations: 99.59 kB / 0.7728 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9985, allocations: 57.84 kB / 0.7728 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.002446/1.001, allocations: 1.54 MB / 0.7744 GB, free: 61.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004586/1.006, allocations: 0.9567 MB / 0.7753 GB, free: 61.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 110 * 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.0004165/1.006, allocations: 154 kB / 0.7754 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004704/1.011, allocations: 3.447 MB / 0.7788 GB, free: 59.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.011, allocations: 0 / 0.7788 GB, free: 59.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009316/1.012, allocations: 0.9568 MB / 0.7797 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.013, allocations: 213.6 kB / 0.7799 GB, free: 58.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/1.045, allocations: 15.79 MB / 0.7954 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003651/1.048, allocations: 3.454 MB / 0.7987 GB, free: 44.58 MB / 0.4948 GB Notification: Performance of SimCode: time 6.32e-07/1.048, allocations: 0 / 0.7987 GB, free: 44.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.04534/1.094, allocations: 22.85 MB / 0.821 GB, free: 24.66 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile (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) 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches