Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001142, allocations: 194.1 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.264/1.264, allocations: 226.5 MB / 244.1 MB, free: 6.539 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008023/0.0008022, allocations: 96.53 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3153/0.3153, allocations: 44.83 MB / 393 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002855, allocations: 4 kB / 465.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2956, allocations: 62.96 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.4032, allocations: 94.77 MB / 0.609 GB, free: 10.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.4034, allocations: 71.97 kB / 0.6091 GB, free: 10.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09685/0.5003, allocations: 42.43 MB / 0.6505 GB, free: 15.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5003, allocations: 0 / 0.6505 GB, free: 15.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.418e-05/0.5004, allocations: 44 kB / 0.6506 GB, free: 15.68 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003522/0.5039, allocations: 1.918 MB / 0.6524 GB, free: 13.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.504, allocations: 12.03 kB / 0.6524 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005887/0.5099, allocations: 1.687 MB / 0.6541 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.5118, allocations: 1.126 MB / 0.6552 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-05/0.5119, allocations: 144 kB / 0.6553 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003106/0.5122, allocations: 180.3 kB / 0.6555 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006351/0.5186, allocations: 5.532 MB / 0.6609 GB, free: 4.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.5186, allocations: 35.81 kB / 0.6609 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.5189, allocations: 107.9 kB / 0.661 GB, free: 4.105 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006078/0.5195, allocations: 0.5729 MB / 0.6616 GB, free: 3.527 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006387/0.5259, allocations: 4.53 MB / 0.666 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2624/0.7884, allocations: 27.95 MB / 0.6933 GB, free: 92.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.7898, allocations: 1.245 MB / 0.6945 GB, free: 92.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.7902, allocations: 358.5 kB / 0.6949 GB, free: 92.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00206/0.7923, allocations: 1.732 MB / 0.6966 GB, free: 91.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.7923, allocations: 44.41 kB / 0.6966 GB, free: 91.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 3.246e-06/0.7923, allocations: 0 / 0.6966 GB, free: 91.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.001194/0.7935, allocations: 0.9555 MB / 0.6975 GB, free: 91.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.7936, allocations: 109.1 kB / 0.6976 GB, free: 90.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.7965, allocations: 2.584 MB / 0.7002 GB, free: 90.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.7966, allocations: 28.89 kB / 0.7002 GB, free: 90.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008246/0.7974, allocations: 1.835 MB / 0.702 GB, free: 89.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.7976, allocations: 261.3 kB / 0.7022 GB, free: 89.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.7978, allocations: 74.84 kB / 0.7023 GB, free: 89.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.798, allocations: 0.5191 MB / 0.7028 GB, free: 89.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7993, allocations: 1.076 MB / 0.7039 GB, free: 89.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002332/0.8017, allocations: 3.776 MB / 0.7076 GB, free: 85.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.8059, allocations: 5.181 MB / 0.7126 GB, free: 82.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-05/0.806, allocations: 28.75 kB / 0.7126 GB, free: 82.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008149/0.8142, allocations: 4.58 MB / 0.7171 GB, free: 80.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.8143, allocations: 46.72 kB / 0.7172 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001567/0.8145, allocations: 96.78 kB / 0.7173 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.8146, allocations: 125.9 kB / 0.7174 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/0.8173, allocations: 0.9088 MB / 0.7183 GB, free: 80.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001537/0.8175, allocations: 185.5 kB / 0.7184 GB, free: 80.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.8205, allocations: 0.567 MB / 0.719 GB, free: 80.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005073/0.821, allocations: 287 kB / 0.7193 GB, free: 80.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 475 * Array equations: 3 * 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.002092/0.8232, allocations: 1.193 MB / 0.7204 GB, free: 79.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/0.8236, allocations: 183.5 kB / 0.7206 GB, free: 79.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.8241, allocations: 226 kB / 0.7208 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.8241, allocations: 9.094 kB / 0.7208 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.8241, allocations: 4.906 kB / 0.7208 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.8241, allocations: 5.359 kB / 0.7208 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.827, allocations: 1.496 MB / 0.7223 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.827, allocations: 1.906 kB / 0.7223 GB, free: 78.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.8273, allocations: 55.14 kB / 0.7224 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.8273, allocations: 2.062 kB / 0.7224 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.8273, allocations: 4.906 kB / 0.7224 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.8273, allocations: 2.641 kB / 0.7224 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8273, allocations: 1 kB / 0.7224 GB, free: 78.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.8285, allocations: 0.9954 MB / 0.7233 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.8291, allocations: 289.7 kB / 0.7236 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.8292, allocations: 8.969 kB / 0.7236 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.8298, allocations: 21.36 kB / 0.7236 GB, free: 77.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.8299, allocations: 20.58 kB / 0.7237 GB, free: 77.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.8299, allocations: 15.98 kB / 0.7237 GB, free: 77.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003062/0.833, allocations: 1.603 MB / 0.7252 GB, free: 77.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.833, allocations: 4 kB / 0.7252 GB, free: 77.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003895/0.8369, allocations: 0.5598 MB / 0.7258 GB, free: 77.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 27 * Array equations: 3 * 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.0003377/0.8373, allocations: 130 kB / 0.7259 GB, free: 77.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.8417, allocations: 2.329 MB / 0.7282 GB, free: 76.27 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8417, allocations: 0 / 0.7282 GB, free: 76.27 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.8421, allocations: 298.5 kB / 0.7285 GB, free: 76.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.8436, allocations: 166.7 kB / 0.7286 GB, free: 76.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.8511, allocations: 4.895 MB / 0.7334 GB, free: 73.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.8529, allocations: 1.872 MB / 0.7352 GB, free: 72.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.8535, allocations: 190.4 kB / 0.7354 GB, free: 72.54 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.8535, allocations: 0 / 0.7354 GB, free: 72.54 MB / 490.7 MB Notification: Performance of Templates: time 0.04061/0.8941, allocations: 28.61 MB / 0.7634 GB, free: 63.24 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches