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.001963/0.001963, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002457/0.002457, allocations: 160.9 kB / 24.26 MB, free: 148 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.49/1.49, allocations: 177 MB / 204.4 MB, free: 5.629 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.3345/0.3345, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.013e-05, allocations: 4.844 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001815/0.001845, allocations: 0.4972 MB / 377.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.004499, allocations: 1.354 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.004527, allocations: 4 kB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.004548, allocations: 3.938 kB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.004596, allocations: 7.938 kB / 379 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009521/0.005548, allocations: 211.9 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.612e-05/0.005605, allocations: 7.984 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.005647, allocations: 0 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.005684, allocations: 8 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.005746, allocations: 0 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005763, allocations: 4 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.00625, allocations: 259.6 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.006276, allocations: 7.938 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.006302, allocations: 0 / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.006617, allocations: 199.5 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.006622, allocations: 4 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.006623, allocations: 0 / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.006627, allocations: 0 / 379.7 MB, free: 368 kB / 346.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.0004044/0.007031, allocations: 262.2 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.007071, allocations: 12.03 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.007119, allocations: 4.938 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.007248, allocations: 105.8 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.00726, allocations: 384 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.007268, allocations: 384 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.007406, allocations: 67.95 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.007414, allocations: 4.188 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.007423, allocations: 384 / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.007429, allocations: 3.938 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.276e-05/0.007462, allocations: 7.938 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.007935, allocations: 188.6 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.007987, allocations: 26.56 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.008004, allocations: 4.859 kB / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.008013, allocations: 0 / 380.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.008054, allocations: 42.56 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.008055, allocations: 0 / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.008221, allocations: 41.59 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.008265, allocations: 55.41 kB / 380.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.008358, allocations: 97.84 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.008378, allocations: 25.7 kB / 380.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.008436, allocations: 92.03 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.19e-06/0.008441, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.008476, allocations: 17.72 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.008638, allocations: 310.8 kB / 381.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.008656, allocations: 7.984 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.008687, allocations: 18.83 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.008732, allocations: 30.52 kB / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.008733, allocations: 0 / 381.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.715e-05/0.00882, allocations: 57.56 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.008833, allocations: 4 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.008838, allocations: 0 / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.008857, allocations: 4 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.008906, allocations: 4.094 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.00891, allocations: 4 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.008932, allocations: 7.891 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.008939, allocations: 4 kB / 381.2 MB, free: 14.68 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 8.704e-05/0.009026, allocations: 113.8 kB / 381.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.009063, allocations: 11.94 kB / 381.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.00917, allocations: 36.86 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009172, allocations: 0 / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.009175, allocations: 4.031 kB / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.009177, allocations: 0 / 381.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.009323, allocations: 105.3 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.009326, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.009327, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.009328, allocations: 0 / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.009336, allocations: 3.938 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.009339, allocations: 4 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00934, allocations: 0 / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.00946, allocations: 131.5 kB / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.009465, allocations: 4.031 kB / 381.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.009477, allocations: 3.938 kB / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.009539, allocations: 8 kB / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.00955, allocations: 0 / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.009554, allocations: 0 / 381.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.034e-05/0.009604, allocations: 83.28 kB / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009604, allocations: 3.938 kB / 381.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.009894, allocations: 39.92 kB / 381.8 MB, free: 14.08 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.0003151/0.01021, allocations: 147.1 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.01028, allocations: 16.03 kB / 381.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01028, allocations: 0 / 381.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.01032, allocations: 29.7 kB / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.01053, allocations: 0 / 381.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.01077, allocations: 100.7 kB / 382 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.919e-05/0.01083, allocations: 55.36 kB / 382.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.01085, allocations: 96 / 382.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.01087, allocations: 16.73 kB / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01087, allocations: 4 kB / 382.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Templates: time 0.003776/0.01465, allocations: 1.101 MB / 383.2 MB, free: 12.56 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.753513396019116]