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.001642/0.001642, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001956/0.001956, allocations: 160.1 kB / 25.61 MB, free: 8.582 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 1.016/1.016, allocations: 177 MB / 205.9 MB, free: 4.461 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.1671/0.1671, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.813e-06/1.813e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.778e-05, allocations: 3.969 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001756/0.001784, allocations: 0.4965 MB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.003595, allocations: 1.385 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.00363, allocations: 3.938 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.00365, allocations: 0 / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.003685, allocations: 4 kB / 381.9 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.004415, allocations: 215.9 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.00447, allocations: 4 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.00452, allocations: 11.98 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.004551, allocations: 0 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.004613, allocations: 11.92 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004629, allocations: 0 / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.005056, allocations: 255.6 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.005077, allocations: 8 kB / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.535e-05/0.005092, allocations: 0 / 382.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.005374, allocations: 203.5 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.005379, allocations: 0 / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005381, allocations: 0 / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.005386, allocations: 0 / 382.6 MB, free: 20.18 MB / 314.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.0003032/0.005689, allocations: 360.2 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.005729, allocations: 8.031 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.005765, allocations: 4.938 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.404e-05/0.005819, allocations: 104.6 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.005833, allocations: 4.375 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.005842, allocations: 4.375 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.95e-05/0.005942, allocations: 59.95 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.005951, allocations: 4.188 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.005959, allocations: 384 / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.005966, allocations: 3.938 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.005987, allocations: 7.938 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.006252, allocations: 232.5 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.006302, allocations: 27.06 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.006316, allocations: 7.688 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.006323, allocations: 3.984 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.006344, allocations: 41.39 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.006345, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.006481, allocations: 49.88 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.006505, allocations: 51.41 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.006563, allocations: 157.9 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.00657, allocations: 25.7 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.006606, allocations: 130.8 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.006613, allocations: 7.984 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.006643, allocations: 15.38 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.006704, allocations: 0.4923 MB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-06/0.006712, allocations: 0 / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.006734, allocations: 27.31 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.006767, allocations: 35 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006769, allocations: 4 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.99e-05/0.006839, allocations: 49.62 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.006855, allocations: 7.938 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.006863, allocations: 0 / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.006876, allocations: 4 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.006926, allocations: 4.094 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.00693, allocations: 7.938 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.006949, allocations: 3.953 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.006956, allocations: 4 kB / 384.5 MB, free: 18.03 MB / 314.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.444e-05/0.007011, allocations: 160.5 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.007034, allocations: 4 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.007161, allocations: 44.8 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.007164, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.007167, allocations: 8.031 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007171, allocations: 3.984 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.007282, allocations: 97.25 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.007288, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.007289, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.007292, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.007296, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007297, allocations: 0 / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.0073, allocations: 7.875 kB / 384.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.007386, allocations: 183.9 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.007395, allocations: 7.969 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.007404, allocations: 0 / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.007472, allocations: 0 / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.007484, allocations: 7.938 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.00749, allocations: 4 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.443e-05/0.007514, allocations: 119.2 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007514, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.007878, allocations: 43.92 kB / 385.2 MB, free: 17.29 MB / 314.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.0002732/0.008151, allocations: 143.2 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.743e-05/0.008229, allocations: 27.7 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008231, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.008397, allocations: 33.39 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.00864, allocations: 4 kB / 385.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.008847, allocations: 104.3 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.713e-05/0.008874, allocations: 55.22 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.008901, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.008942, allocations: 78.45 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008943, allocations: 0 / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of Templates: time 0.003639/0.01258, allocations: 1.259 MB / 386.9 MB, free: 15.53 MB / 314.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.2993754809722304]