Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.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.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009225/0.0009225, allocations: 91.17 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 45.16 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.476e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 63.24 MB / 0.5043 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5546, allocations: 89.71 MB / 0.592 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.5549, allocations: 65.22 kB / 0.592 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03869/0.5936, allocations: 13.11 MB / 0.6048 GB, free: 1.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5936, allocations: 0 / 0.6048 GB, free: 1.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.5937, allocations: 4 kB / 0.6048 GB, free: 1.898 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006393/0.5943, allocations: 455.1 kB / 0.6053 GB, free: 1.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5943, allocations: 12.03 kB / 0.6053 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.5944, allocations: 78.84 kB / 0.6053 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.5945, allocations: 246.3 kB / 0.6056 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.5946, allocations: 150.6 kB / 0.6057 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.5946, allocations: 154.5 kB / 0.6059 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.311e-05/0.5947, allocations: 150.6 kB / 0.606 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.481e-05/0.5948, allocations: 101 kB / 0.6061 GB, free: 496 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.5948, allocations: 79.28 kB / 0.6062 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.5948, allocations: 158.6 kB / 0.6063 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.5949, allocations: 150.6 kB / 0.6065 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.5951, allocations: 426.1 kB / 0.6069 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.5952, allocations: 169.1 kB / 0.6071 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.5953, allocations: 92.12 kB / 0.6071 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.5953, allocations: 79.27 kB / 0.6072 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/0.5954, allocations: 134.5 kB / 0.6073 GB, free: 15.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5954, allocations: 0 / 0.6073 GB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.492e-05/0.5955, allocations: 25.7 kB / 0.6074 GB, free: 15.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.5955, allocations: 81.11 kB / 0.6074 GB, free: 15.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.679e-05/0.5956, allocations: 85 kB / 0.6075 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5956, allocations: 29.7 kB / 0.6076 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.5956, allocations: 80.14 kB / 0.6076 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.5956, allocations: 0 / 0.6076 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.5956, allocations: 0.6562 kB / 0.6076 GB, free: 14.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5957, allocations: 314.8 kB / 0.6079 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.5958, allocations: 0 / 0.6079 GB, free: 14.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.5958, allocations: 4 kB / 0.6079 GB, free: 14.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.5958, allocations: 75.28 kB / 0.608 GB, free: 14.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.132e-05/0.5959, allocations: 79.31 kB / 0.6081 GB, free: 14.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.436e-05/0.5959, allocations: 37.64 kB / 0.6081 GB, free: 14.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.596, allocations: 88.56 kB / 0.6082 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.596, allocations: 75.28 kB / 0.6083 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.781e-05/0.5961, allocations: 154.5 kB / 0.6084 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.91e-05/0.5961, allocations: 79.28 kB / 0.6085 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.896e-05/0.5962, allocations: 154.5 kB / 0.6086 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.5963, allocations: 83.22 kB / 0.6087 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.5963, allocations: 75.28 kB / 0.6088 GB, free: 13.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001207/0.5964, allocations: 259.5 kB / 0.609 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.5965, allocations: 104.9 kB / 0.6091 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.5965, allocations: 112.7 kB / 0.6093 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.695e-05/0.5966, allocations: 183.6 kB / 0.6094 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.054e-05/0.5967, allocations: 176.3 kB / 0.6096 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-05/0.5967, allocations: 188.2 kB / 0.6098 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.5969, allocations: 379.2 kB / 0.6101 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.597, allocations: 101 kB / 0.6102 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.597, allocations: 104.9 kB / 0.6103 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.875e-05/0.5971, allocations: 184.2 kB / 0.6105 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.5971, allocations: 183.6 kB / 0.6107 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.738e-05/0.5972, allocations: 184.2 kB / 0.6109 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.646e-05/0.5973, allocations: 176.3 kB / 0.611 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.5974, allocations: 311.1 kB / 0.6113 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.5975, allocations: 182.1 kB / 0.6115 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.5975, allocations: 180.3 kB / 0.6117 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.5976, allocations: 105.3 kB / 0.6118 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.5977, allocations: 180.2 kB / 0.6119 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.5977, allocations: 105 kB / 0.612 GB, free: 10.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.5978, allocations: 87.27 kB / 0.6121 GB, free: 10.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5978, allocations: 0 / 0.6121 GB, free: 10.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007371/0.5985, allocations: 167.4 kB / 0.6123 GB, free: 9.852 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.000784/0.5993, allocations: 463.8 kB / 0.6127 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 3.728e-05/0.5993, allocations: 3.75 kB / 0.6127 GB, free: 9.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5994, allocations: 4 kB / 0.6127 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.5994, allocations: 3.938 kB / 0.6127 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5996, allocations: 0.5263 MB / 0.6133 GB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001221/0.5998, allocations: 123.2 kB / 0.6134 GB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.6, allocations: 0.669 MB / 0.614 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.6, allocations: 0 / 0.614 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.6, allocations: 11.44 kB / 0.614 GB, free: 8.008 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6, allocations: 0 / 0.614 GB, free: 8.008 MB / 410.7 MB Notification: Performance of Templates: time 0.006276/0.6063, allocations: 3.001 MB / 0.617 GB, free: 5.027 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestNonlinear/TestNonlinear.csv","../files/ModelicaTest_trunk_ModelicaTest.Math.TestNonlinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches