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.001169/0.001169, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001714/0.002882, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001131/0.001131, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.00272, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.8093/0.8093, allocations: 158.6 MB / 171 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1219/0.9312, allocations: 49.5 MB / 220.5 MB, free: 1.441 MB / 218.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.1216/0.1216, allocations: 32.35 MB / 253.6 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01877/0.1404, allocations: 12.3 MB / 265.9 MB, free: 3.984 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.333e-06/1.333e-06, allocations: 0 / 267.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.355e-05, allocations: 6.25 kB / 267.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001159/0.001173, allocations: 0.5516 MB / 267.7 MB, free: 2.148 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.002577, allocations: 1.389 MB / 269.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.002591, allocations: 0 / 269.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.047e-06/0.002595, allocations: 0 / 269.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.002602, allocations: 0 / 269.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.002978, allocations: 171.5 kB / 269.3 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.003022, allocations: 4 kB / 269.3 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.003056, allocations: 3.938 kB / 269.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.003104, allocations: 15.98 kB / 269.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.422e-05/0.003148, allocations: 4 kB / 269.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003161, allocations: 0 / 269.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.006631, allocations: 300.1 kB / 269.6 MB, free: 252 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/0.00664, allocations: 0 / 269.6 MB, free: 252 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.328e-05/0.006653, allocations: 3.938 kB / 269.6 MB, free: 248 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.006862, allocations: 139.7 kB / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.006875, allocations: 0 / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.006876, allocations: 0 / 269.8 MB, free: 108 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.00689, allocations: 0 / 269.8 MB, free: 108 kB / 266.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.0003182/0.007209, allocations: 248.5 kB / 270 MB, free: 15.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.007241, allocations: 20.02 kB / 270 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.007264, allocations: 0.9375 kB / 270 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.912e-05/0.007343, allocations: 105.8 kB / 270.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.007353, allocations: 4.375 kB / 270.1 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.007361, allocations: 4.312 kB / 270.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.801e-05/0.007439, allocations: 51.97 kB / 270.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.007445, allocations: 192 / 270.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.007453, allocations: 8.359 kB / 270.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.007458, allocations: 3.938 kB / 270.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.095e-05/0.007469, allocations: 0 / 270.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.967e-05/0.007539, allocations: 65.05 kB / 270.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.875e-05/0.007568, allocations: 14.58 kB / 270.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.211e-05/0.00758, allocations: 8.797 kB / 270.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.007588, allocations: 4.094 kB / 270.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.007608, allocations: 30.56 kB / 270.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.007609, allocations: 0 / 270.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.07e-05/0.007689, allocations: 33.69 kB / 270.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.007716, allocations: 51.41 kB / 270.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.00777, allocations: 98.72 kB / 270.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.007783, allocations: 29.95 kB / 270.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.007802, allocations: 84.08 kB / 270.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.007825, allocations: 7.984 kB / 270.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.007854, allocations: 13.72 kB / 270.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.007938, allocations: 318.8 kB / 270.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-06/0.007945, allocations: 7.938 kB / 271 MB, free: 14.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.007949, allocations: 0 / 271 MB, free: 14.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.764e-05/0.007967, allocations: 8.859 kB / 271 MB, free: 14.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007968, allocations: 0 / 271 MB, free: 14.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.83e-05/0.008007, allocations: 29.77 kB / 271 MB, free: 14.72 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.008017, allocations: 8.031 kB / 271 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.008021, allocations: 0 / 271 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.008027, allocations: 0 / 271 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.832e-05/0.008086, allocations: 11.97 kB / 271 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.008088, allocations: 0 / 271 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.008099, allocations: 3.938 kB / 271 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.008105, allocations: 3.938 kB / 271 MB, free: 14.69 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 4.732e-05/0.008153, allocations: 109.8 kB / 271.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.008158, allocations: 0 / 271.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.673e-05/0.008244, allocations: 48.84 kB / 271.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008246, allocations: 0 / 271.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008247, allocations: 0 / 271.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.00825, allocations: 4 kB / 271.2 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.028e-05/0.0083, allocations: 61.84 kB / 271.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.008303, allocations: 0 / 271.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.008304, allocations: 0 / 271.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.008309, allocations: 7.984 kB / 271.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008311, allocations: 4.031 kB / 271.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-06/0.008313, allocations: 0 / 271.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.008314, allocations: 0 / 271.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008315, allocations: 0 / 271.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.812e-05/0.008363, allocations: 61.02 kB / 271.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-06/0.008371, allocations: 3.984 kB / 271.3 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.008418, allocations: 4 kB / 271.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-06/0.008427, allocations: 0 / 271.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.00843, allocations: 0 / 271.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.091e-05/0.008441, allocations: 12.84 kB / 271.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008441, allocations: 8.062 kB / 271.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.00862, allocations: 35.94 kB / 271.4 MB, free: 14.29 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.0001972/0.008817, allocations: 132.2 kB / 271.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.091e-05/0.008868, allocations: 12.86 kB / 271.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.008872, allocations: 4 kB / 271.5 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.008903, allocations: 46.48 kB / 271.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.578e-05/0.008968, allocations: 7.938 kB / 271.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/0.009114, allocations: 95.7 kB / 271.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003041/0.01216, allocations: 63.47 kB / 271.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.01217, allocations: 0 / 271.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.01221, allocations: 51.38 kB / 271.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01221, allocations: 0 / 271.8 MB, free: 13.82 MB / 282.7 MB Notification: Performance of Templates: time 0.002763/0.01497, allocations: 1.266 MB / 273 MB, free: 12.55 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 -emit_protected -ignoreHideResult -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.437909056432545]