Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002298/0.002298, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002352/0.002352, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3579/0.3579, allocations: 34.25 MB / 295.2 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 179] 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.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.882e-05, allocations: 4.703 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.00167/0.001698, allocations: 0.5245 MB / 377.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.002133, allocations: 147.5 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.002158, allocations: 0 / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.00217, allocations: 0 / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.002428, allocations: 43.7 kB / 377.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.002431, allocations: 0 / 377.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.002495, allocations: 23.91 kB / 377.9 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.002528, allocations: 4 kB / 377.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.002566, allocations: 15.92 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.002626, allocations: 15.92 kB / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.002637, allocations: 0 / 378 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.002754, allocations: 43.95 kB / 378 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.002764, allocations: 0 / 378 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.002781, allocations: 11.92 kB / 378 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.002909, allocations: 43.88 kB / 378.1 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.002911, allocations: 3.938 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002911, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.002915, allocations: 0 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004163/0.003331, allocations: 376.1 kB / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.003371, allocations: 12.03 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.00342, allocations: 8.891 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.003533, allocations: 104.6 kB / 378.6 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.003547, allocations: 4.375 kB / 378.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.003564, allocations: 12.36 kB / 378.6 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.003709, allocations: 62.17 kB / 378.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.003719, allocations: 192 / 378.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.003729, allocations: 384 / 378.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.003736, allocations: 4.375 kB / 378.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.003868, allocations: 51.89 kB / 378.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.004066, allocations: 136.6 kB / 378.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.004241, allocations: 83.08 kB / 378.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.004299, allocations: 27.67 kB / 378.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.004548, allocations: 27.97 kB / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.004585, allocations: 37.39 kB / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.004586, allocations: 0 / 379 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002588/0.004845, allocations: 110 kB / 379.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.004893, allocations: 55.39 kB / 379.2 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.00501, allocations: 161.9 kB / 379.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.005031, allocations: 29.7 kB / 379.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.005101, allocations: 126.9 kB / 379.5 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.005161, allocations: 31.7 kB / 379.5 MB, free: 448 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.005212, allocations: 31.36 kB / 379.5 MB, free: 408 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.005499, allocations: 496.1 kB / 380 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.005541, allocations: 15.98 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.226e-05/0.005583, allocations: 23.92 kB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.00568, allocations: 51.69 kB / 380.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005682, allocations: 0 / 380.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00015/0.005832, allocations: 89.75 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.005848, allocations: 4 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005852, allocations: 0 / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.005865, allocations: 4 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.005971, allocations: 15.98 kB / 380.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.005976, allocations: 0 / 380.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.006012, allocations: 19.77 kB / 380.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006018, allocations: 4 kB / 380.2 MB, free: 15.67 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001349/0.006153, allocations: 164.5 kB / 380.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.006169, allocations: 4 kB / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.00638, allocations: 101.6 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006381, allocations: 0 / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.006384, allocations: 0 / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.006392, allocations: 7.938 kB / 380.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.006531, allocations: 132.5 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006533, allocations: 0 / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.761e-05/0.00661, allocations: 19.98 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.006615, allocations: 4 kB / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.006622, allocations: 0 / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006623, allocations: 0 / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006624, allocations: 0 / 380.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.006814, allocations: 132.3 kB / 380.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.006828, allocations: 11.89 kB / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.006843, allocations: 4 kB / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.006868, allocations: 0 / 380.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.006898, allocations: 7.984 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.006902, allocations: 0 / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.006981, allocations: 123.2 kB / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006981, allocations: 0 / 380.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002096/0.007191, allocations: 19.94 kB / 381 MB, free: 14.88 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001648/0.007356, allocations: 111.3 kB / 381.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.007507, allocations: 60.17 kB / 381.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007508, allocations: 4 kB / 381.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.00757, allocations: 39.8 kB / 381.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.007704, allocations: 0 / 381.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.008083, allocations: 158.3 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.00815, allocations: 63.34 kB / 381.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.008192, allocations: 19.91 kB / 381.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.008222, allocations: 12.5 kB / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008223, allocations: 3.938 kB / 381.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Templates: time 0.003488/0.01171, allocations: 0.6356 MB / 382.1 MB, free: 13.71 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.86149394500535]