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.001415/0.001415, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001537/0.001537, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.8721/0.8721, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] 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.2348/0.2348, allocations: 34.88 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] 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.853e-06/1.853e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.727e-05, allocations: 2.312 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0009448/0.0009621, allocations: 0.5265 MB / 379.3 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.001251, allocations: 155.5 kB / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.001274, allocations: 0 / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.00129, allocations: 0 / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.001517, allocations: 39.7 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.545e-06/0.001519, allocations: 0 / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.001568, allocations: 19.92 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.001604, allocations: 11.97 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.591e-05/0.00163, allocations: 11.94 kB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.001678, allocations: 11.92 kB / 379.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.001689, allocations: 3.984 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.001773, allocations: 51.89 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.001784, allocations: 7.984 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.001797, allocations: 7.938 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.437e-05/0.001891, allocations: 43.86 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.001893, allocations: 0 / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.001894, allocations: 3.938 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.001897, allocations: 0 / 379.6 MB, free: 1.199 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.000234/0.002131, allocations: 372.5 kB / 380 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.002172, allocations: 12.03 kB / 380 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.002209, allocations: 4.938 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.886e-05/0.002277, allocations: 112.6 kB / 380.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.002287, allocations: 4.375 kB / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.002295, allocations: 384 / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.751e-05/0.002382, allocations: 58.23 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.002388, allocations: 4.125 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.002396, allocations: 384 / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.002402, allocations: 384 / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.00247, allocations: 47.89 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.00258, allocations: 124.6 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.002692, allocations: 75.03 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.002729, allocations: 39.83 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.002892, allocations: 23.98 kB / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.002908, allocations: 33.39 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 7.72e-07/0.002909, allocations: 0 / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001649/0.003074, allocations: 93.61 kB / 380.6 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.003101, allocations: 55.41 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.003168, allocations: 161.9 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.003176, allocations: 25.7 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.003202, allocations: 131 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.003233, allocations: 39.64 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.003263, allocations: 31.36 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.003356, allocations: 496.1 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.051e-05/0.003376, allocations: 11.98 kB / 381.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.003395, allocations: 16 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.33e-05/0.003448, allocations: 55.61 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.00345, allocations: 0 / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.666e-05/0.003526, allocations: 81.56 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.003536, allocations: 4 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.00354, allocations: 0 / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.00355, allocations: 4 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.003619, allocations: 15.98 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.003623, allocations: 4 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.482e-05/0.003638, allocations: 11.89 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.003645, allocations: 4 kB / 381.8 MB, free: 14.88 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 5.334e-05/0.003698, allocations: 156.6 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.003705, allocations: 4 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.003822, allocations: 89.58 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.003824, allocations: 4 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.003826, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.003831, allocations: 11.92 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.536e-05/0.003896, allocations: 128.5 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003897, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.003929, allocations: 19.94 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.003932, allocations: 3.984 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.003937, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.003938, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.003939, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.806e-05/0.004027, allocations: 121.1 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.004034, allocations: 11.89 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.004043, allocations: 3.984 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.004054, allocations: 8 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.004068, allocations: 3.984 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.004074, allocations: 11.98 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.004098, allocations: 123.2 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004098, allocations: 0 / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.004229, allocations: 15.94 kB / 382.5 MB, free: 14.11 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 8.719e-05/0.004317, allocations: 107.2 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.004409, allocations: 59.62 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00441, allocations: 96 / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.547e-05/0.004435, allocations: 43.55 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.996e-05/0.004525, allocations: 4 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.004748, allocations: 146.3 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.669e-05/0.004775, allocations: 55.36 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.004798, allocations: 7.984 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.004817, allocations: 12.5 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.004817, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.001994/0.006811, allocations: 0.6968 MB / 383.6 MB, free: 12.92 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.76188956014812]