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.001503/0.001503, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001509/0.001509, allocations: 165.4 kB / 24.82 MB, free: 9.312 MB / 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.9089/0.9089, allocations: 177 MB / 205.1 MB, free: 5.488 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.2537/0.2537, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.092e-06/1.092e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.125e-05, allocations: 6.25 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001119/0.00114, allocations: 0.5394 MB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.001413, allocations: 151.4 kB / 379.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.001438, allocations: 0 / 379.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.001452, allocations: 0 / 379.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.001645, allocations: 35.78 kB / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.514e-06/0.001648, allocations: 0 / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.022e-05/0.001688, allocations: 23.91 kB / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.117e-05/0.001719, allocations: 11.98 kB / 380 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.056e-05/0.00175, allocations: 11.94 kB / 380 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.001798, allocations: 11.92 kB / 380 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.001809, allocations: 0 / 380 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.001889, allocations: 51.88 kB / 380 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.0019, allocations: 3.938 kB / 380 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.094e-05/0.001911, allocations: 8 kB / 380 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.884e-05/0.002, allocations: 51.8 kB / 380.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002002, allocations: 0 / 380.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002003, allocations: 0 / 380.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.002007, allocations: 3.938 kB / 380.1 MB, free: 0.9492 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.0002065/0.002213, allocations: 372.5 kB / 380.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.002244, allocations: 8.031 kB / 380.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.911e-05/0.002263, allocations: 4.938 kB / 380.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.032e-05/0.002324, allocations: 108.6 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.002332, allocations: 384 / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.002343, allocations: 8.375 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.167e-05/0.002415, allocations: 58.16 kB / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.002421, allocations: 192 / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.002426, allocations: 384 / 380.6 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.002432, allocations: 4.375 kB / 380.7 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.002477, allocations: 43.89 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.413e-05/0.002571, allocations: 105.2 kB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.00267, allocations: 75.05 kB / 380.9 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.002697, allocations: 23.67 kB / 380.9 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.002851, allocations: 23.98 kB / 380.9 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.002885, allocations: 37.39 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.002886, allocations: 0 / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001425/0.003029, allocations: 82.08 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.003054, allocations: 55.41 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.003114, allocations: 157.9 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.003125, allocations: 25.7 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.003159, allocations: 130.9 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.003195, allocations: 43.56 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.003235, allocations: 35.34 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.003353, allocations: 496.1 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.00337, allocations: 11.98 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.003389, allocations: 15.97 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.003436, allocations: 39.8 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.003437, allocations: 4 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.877e-05/0.003516, allocations: 73.62 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.003526, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.00353, allocations: 0 / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.003539, allocations: 0 / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.003605, allocations: 16 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.003607, allocations: 3.984 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.003625, allocations: 7.953 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.003632, allocations: 7.938 kB / 382.1 MB, free: 14.71 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 6.414e-05/0.003696, allocations: 160.5 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.003707, allocations: 12 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.003816, allocations: 85.64 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.003818, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.003819, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.003822, allocations: 0 / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.025e-05/0.003902, allocations: 117.1 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.003903, allocations: 0 / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.003944, allocations: 20 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.003945, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.00395, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.003952, allocations: 7.984 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.003953, allocations: 0 / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.004296, allocations: 116.3 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-06/0.004302, allocations: 7.891 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-06/0.004311, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.312e-05/0.004324, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.004339, allocations: 7.969 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.004343, allocations: 4 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.123e-05/0.004374, allocations: 119.2 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004374, allocations: 0 / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.004557, allocations: 24.02 kB / 382.8 MB, free: 13.97 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.0001103/0.004668, allocations: 107.2 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.135e-05/0.004749, allocations: 47.59 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00475, allocations: 0 / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.004782, allocations: 40.25 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.004906, allocations: 7.938 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.008141, allocations: 138.3 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.008175, allocations: 59.36 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.036e-05/0.008205, allocations: 11.98 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.00825, allocations: 70.2 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.008251, allocations: 7.938 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of Templates: time 0.002319/0.01057, allocations: 0.7244 MB / 384 MB, free: 12.7 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.726821037940681]