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) 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/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 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=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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008268/0.0008269, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009703/0.0009703, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1973/0.1973, allocations: 46.19 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 4 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.02669/0.1435, allocations: 27.87 MB / 0.4996 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1564, allocations: 5.791 MB / 0.5053 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004821/0.1613, allocations: 123.7 kB / 0.5054 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.1627, allocations: 426.2 kB / 0.5058 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.1669, allocations: 1.484 MB / 0.5072 GB, free: 352 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.1674, allocations: 107.9 kB / 0.5073 GB, free: 244 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2338/0.4013, allocations: 4.85 MB / 0.5121 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005323/0.4066, allocations: 2.803 MB / 0.5148 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.4089, allocations: 0.8946 MB / 0.5157 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.4134, allocations: 2.739 MB / 0.5184 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009114/0.4144, allocations: 121.3 kB / 0.5185 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.4164, allocations: 0.637 MB / 0.5191 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.4185, allocations: 1.397 MB / 0.5205 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003071/0.4216, allocations: 1.702 MB / 0.5221 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.4267, allocations: 4.5 MB / 0.5265 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4267, allocations: 1.062 kB / 0.5265 GB, free: 7.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4267, allocations: 0 / 0.5265 GB, free: 7.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.4269, allocations: 0 / 0.5265 GB, free: 7.77 MB / 382.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.006651/0.4336, allocations: 3.262 MB / 0.5297 GB, free: 5.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.4336, allocations: 9.875 kB / 0.5297 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009961/0.4436, allocations: 3.052 MB / 0.5327 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/0.4475, allocations: 1.803 MB / 0.5345 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.4477, allocations: 189.7 kB / 0.5346 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008774/0.4485, allocations: 236.8 kB / 0.5349 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.4647, allocations: 9.765 MB / 0.5444 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.399e-05/0.4648, allocations: 15.25 kB / 0.5444 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/0.4652, allocations: 120.1 kB / 0.5445 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003772/0.469, allocations: 2.362 MB / 0.5468 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01725/0.4863, allocations: 8.952 MB / 0.5556 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0464/0.5327, allocations: 29.76 MB / 0.5846 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/0.5395, allocations: 3.483 MB / 0.588 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.5412, allocations: 1.106 MB / 0.5891 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.5519, allocations: 6.458 MB / 0.5954 GB, free: 8.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.552, allocations: 45.84 kB / 0.5955 GB, free: 8.102 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 8.115e-06/0.552, allocations: 0 / 0.5955 GB, free: 8.102 MB / 446.1 MB Notification: Performance of matching and sorting (n=135): time 0.00791/0.5599, allocations: 3.131 MB / 0.5985 GB, free: 4.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.56, allocations: 115.5 kB / 0.5986 GB, free: 4.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004927/0.565, allocations: 2.733 MB / 0.6013 GB, free: 2.078 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/0.5651, allocations: 40.52 kB / 0.6013 GB, free: 2.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.567, allocations: 2.728 MB / 0.604 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/0.5676, allocations: 0.5206 MB / 0.6045 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006849/0.5683, allocations: 408.7 kB / 0.6049 GB, free: 14.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.5684, allocations: 307.8 kB / 0.6052 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.5706, allocations: 1.406 MB / 0.6066 GB, free: 12.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.5747, allocations: 4.227 MB / 0.6107 GB, free: 7.066 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006842/0.5816, allocations: 6.153 MB / 0.6167 GB, free: 15.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-05/0.5817, allocations: 28 kB / 0.6167 GB, free: 15.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.01031/0.592, allocations: 5.452 MB / 0.6221 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.5922, allocations: 55.97 kB / 0.6221 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/0.5924, allocations: 100 kB / 0.6222 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.5925, allocations: 132 kB / 0.6223 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/0.5957, allocations: 0.9905 MB / 0.6233 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001795/0.5959, allocations: 195.2 kB / 0.6235 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/0.5993, allocations: 0.6223 MB / 0.6241 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007118/0.6, allocations: 287.6 kB / 0.6244 GB, free: 8.148 MB / 478.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.00423/0.6042, allocations: 1.973 MB / 0.6263 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/0.6047, allocations: 232.9 kB / 0.6265 GB, free: 5.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.6056, allocations: 285 kB / 0.6268 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-05/0.6056, allocations: 23.92 kB / 0.6268 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6056, allocations: 0 / 0.6268 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6056, allocations: 3.984 kB / 0.6268 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6182, allocations: 6.2 MB / 0.6329 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.6183, allocations: 8 kB / 0.6329 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.619, allocations: 164.6 kB / 0.633 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/0.619, allocations: 12 kB / 0.6331 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.6191, allocations: 32 kB / 0.6331 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.701e-05/0.6191, allocations: 19.92 kB / 0.6331 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/0.6191, allocations: 11.94 kB / 0.6331 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/0.6216, allocations: 1.995 MB / 0.6351 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/0.6223, allocations: 325.7 kB / 0.6354 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.6228, allocations: 28 kB / 0.6354 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.6237, allocations: 39.95 kB / 0.6354 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.6238, allocations: 84.3 kB / 0.6355 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.6239, allocations: 46.34 kB / 0.6356 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003075/0.627, allocations: 1.674 MB / 0.6372 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.627, allocations: 3.938 kB / 0.6372 GB, free: 10.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004229/0.6313, allocations: 1.025 MB / 0.6382 GB, free: 9.676 MB / 494.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.0004293/0.6317, allocations: 154.7 kB / 0.6383 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005083/0.6368, allocations: 3.244 MB / 0.6415 GB, free: 6.301 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/0.6368, allocations: 4 kB / 0.6415 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6378, allocations: 0.8018 MB / 0.6423 GB, free: 5.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/0.642, allocations: 296.8 kB / 0.6426 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.6614, allocations: 10.23 MB / 0.6526 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/0.6667, allocations: 3.107 MB / 0.6556 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/0.6675, allocations: 207.4 kB / 0.6558 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.6675, allocations: 3.938 kB / 0.6558 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of Templates: time 0.06673/0.7342, allocations: 43.48 MB / 0.6983 GB, free: 12.12 MB / 0.545 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches