Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8793/0.8793, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1263/0.1263, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.613e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001095/0.001111, allocations: 0.5485 MB / 299.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.002549, allocations: 1.386 MB / 301 MB, free: 224 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.002571, allocations: 0 / 301 MB, free: 224 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.002584, allocations: 0 / 301 MB, free: 224 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.002611, allocations: 7.938 kB / 301 MB, free: 216 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.003013, allocations: 167.4 kB / 301.2 MB, free: 48 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.003058, allocations: 11.98 kB / 301.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.003091, allocations: 7.984 kB / 301.2 MB, free: 28 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.00312, allocations: 0 / 301.2 MB, free: 28 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.003163, allocations: 4 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.003174, allocations: 0 / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1154/0.1185, allocations: 297.1 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.1186, allocations: 8.094 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.56e-05/0.1186, allocations: 1.859 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.1188, allocations: 194.1 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1188, allocations: 4.656 kB / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1188, allocations: 0 / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1188, allocations: 0 / 301.7 MB, free: 19.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002028/0.119, allocations: 233.4 kB / 301.9 MB, free: 19.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1191, allocations: 10.36 kB / 302 MB, free: 19.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1191, allocations: 2.219 kB / 302 MB, free: 19.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.325e-05/0.1191, allocations: 113 kB / 302.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1191, allocations: 1.25 kB / 302.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-06/0.1191, allocations: 2.312 kB / 302.1 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.088e-05/0.1192, allocations: 58.48 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.1192, allocations: 1.281 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.1192, allocations: 0.5625 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1192, allocations: 3.938 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-06/0.1192, allocations: 2.859 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.034e-05/0.1193, allocations: 58.12 kB / 302.2 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.1193, allocations: 20.75 kB / 302.2 MB, free: 18.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.061e-05/0.1193, allocations: 10.83 kB / 302.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-06/0.1193, allocations: 1.562 kB / 302.2 MB, free: 18.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.1193, allocations: 36.19 kB / 302.3 MB, free: 18.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.1193, allocations: 0.7812 kB / 302.3 MB, free: 18.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 6.988e-05/0.1194, allocations: 32.78 kB / 302.3 MB, free: 18.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.286e-05/0.1194, allocations: 55.02 kB / 302.3 MB, free: 18.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.261e-05/0.1195, allocations: 99.48 kB / 302.4 MB, free: 18.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-06/0.1195, allocations: 25.7 kB / 302.5 MB, free: 18.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.607e-06/0.1195, allocations: 85.77 kB / 302.6 MB, free: 18.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1195, allocations: 3.953 kB / 302.6 MB, free: 18.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.1195, allocations: 12.94 kB / 302.6 MB, free: 18.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.577e-05/0.1195, allocations: 319.8 kB / 302.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.1195, allocations: 2.859 kB / 302.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.1195, allocations: 2.062 kB / 302.9 MB, free: 18.08 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.478e-05/0.1196, allocations: 9.047 kB / 302.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1196, allocations: 0.6562 kB / 302.9 MB, free: 18.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.723e-05/0.1196, allocations: 35.2 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1196, allocations: 5.594 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1196, allocations: 1.469 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1196, allocations: 0.75 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.1197, allocations: 3.844 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.1197, allocations: 0.6562 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-06/0.1197, allocations: 5.094 kB / 302.9 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.1197, allocations: 4.5 kB / 303 MB, free: 18.04 MB / 282.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 (1): * Single equations (assignments): 1 * 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 2.986e-05/0.1197, allocations: 108.6 kB / 303.1 MB, free: 17.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.1197, allocations: 5.438 kB / 303.1 MB, free: 17.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.1198, allocations: 44.47 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1198, allocations: 0.7031 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1198, allocations: 4.781 kB / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1198, allocations: 0 / 303.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.237e-05/0.1198, allocations: 69.02 kB / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1198, allocations: 0 / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.1198, allocations: 0.75 kB / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.1198, allocations: 1.469 kB / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.1198, allocations: 1.125 kB / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1198, allocations: 1.297 kB / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1198, allocations: 4.406 kB / 303.2 MB, free: 17.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.501e-05/0.1199, allocations: 61.89 kB / 303.2 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.1199, allocations: 6.406 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-06/0.1199, allocations: 0.5625 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.1199, allocations: 3.672 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.1199, allocations: 0.75 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1199, allocations: 8.719 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.534e-06/0.1199, allocations: 10.7 kB / 303.3 MB, free: 17.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1199, allocations: 0 / 303.3 MB, free: 17.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.1201, allocations: 40.09 kB / 303.3 MB, free: 17.73 MB / 282.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.0001789/0.1203, allocations: 127.6 kB / 303.4 MB, free: 17.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 4.442e-05/0.1203, allocations: 9.078 kB / 303.5 MB, free: 17.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1203, allocations: 0.9062 kB / 303.5 MB, free: 17.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.912e-05/0.1203, allocations: 33.53 kB / 303.5 MB, free: 17.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.959e-05/0.1204, allocations: 5.969 kB / 303.5 MB, free: 17.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001273/0.1205, allocations: 101.8 kB / 303.6 MB, free: 17.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.333e-05/0.1205, allocations: 53.58 kB / 303.6 MB, free: 17.44 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.226e-05/0.1206, allocations: 2.781 kB / 303.6 MB, free: 17.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.1206, allocations: 56.45 kB / 303.7 MB, free: 17.39 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1206, allocations: 3.719 kB / 303.7 MB, free: 17.39 MB / 282.7 MB Notification: Performance of Templates: time 0.00287/0.1235, allocations: 1.261 MB / 305 MB, free: 17.31 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.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.6272382461465895]