Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001108/0.001108, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.001691/0.001691, allocations: 160.5 kB / 24.56 MB, free: 40 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.9829/0.9829, allocations: 177 MB / 204.8 MB, free: 5.562 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.255/0.255, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.555e-05, allocations: 2.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0009234/0.0009389, allocations: 0.5003 MB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.002303, allocations: 1.405 MB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.34e-05/0.002326, allocations: 0 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.002343, allocations: 0 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.394e-05/0.002367, allocations: 0 / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.002884, allocations: 212 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.002927, allocations: 15.94 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.002958, allocations: 0 / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.002984, allocations: 7.984 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.003025, allocations: 7.984 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003037, allocations: 0 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.003355, allocations: 263.5 kB / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.003367, allocations: 0 / 381.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.003383, allocations: 4 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.003661, allocations: 191.5 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003663, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003663, allocations: 8 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.003668, allocations: 0 / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002911/0.003959, allocations: 364.2 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.003996, allocations: 8.031 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.004028, allocations: 0.9375 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.502e-05/0.004083, allocations: 112.6 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004093, allocations: 384 / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.004103, allocations: 384 / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.00421, allocations: 67.95 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004219, allocations: 192 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004228, allocations: 384 / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.004241, allocations: 7.938 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.004263, allocations: 4 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.004542, allocations: 248.1 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/0.004579, allocations: 31 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.004595, allocations: 7.688 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.0046, allocations: 0 / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.004623, allocations: 45.39 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.004624, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.004739, allocations: 37.58 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.004763, allocations: 59.52 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.004832, allocations: 157.9 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004843, allocations: 25.7 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.004887, allocations: 134.8 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.004891, allocations: 0 / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.004916, allocations: 19.38 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.005025, allocations: 0.4884 MB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.005033, allocations: 4 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.005054, allocations: 31.05 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.207e-05/0.005086, allocations: 43.12 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.005088, allocations: 0 / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.005e-05/0.005138, allocations: 53.52 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.00515, allocations: 8 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.005154, allocations: 0 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.005172, allocations: 0 / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.632e-05/0.005208, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.005214, allocations: 4 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.005228, allocations: 12.02 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.005232, allocations: 4 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.406e-05/0.005286, allocations: 156.6 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.0053, allocations: 3.938 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.005382, allocations: 48.78 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005384, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.005386, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.00539, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.639e-05/0.005467, allocations: 108.7 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.00547, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-06/0.005472, allocations: 4 kB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005473, allocations: 0 / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.005478, allocations: 3.938 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005479, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005479, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.005548, allocations: 187.9 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.005554, allocations: 4 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.005562, allocations: 3.938 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.005594, allocations: 7.969 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-06/0.005603, allocations: 0 / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.005609, allocations: 11.98 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.044e-05/0.00564, allocations: 119.2 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00564, allocations: 0 / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.005814, allocations: 39.94 kB / 384 MB, free: 12.55 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001827/0.005997, allocations: 147.1 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.783e-05/0.006054, allocations: 15.62 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.006057, allocations: 4.281 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.006079, allocations: 41.39 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.006214, allocations: 4 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001526/0.006367, allocations: 98.34 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.006397, allocations: 55.36 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.006412, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.006425, allocations: 8.5 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.006426, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of Templates: time 0.002333/0.008758, allocations: 1.126 MB / 385.5 MB, free: 10.98 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.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: 3.2526469831354916]