Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001383/0.001383, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001544/0.001544, allocations: 165.3 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9504/0.9504, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.23/0.23, allocations: 34.26 MB / 296 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.599e-05, allocations: 2.312 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0009395/0.0009555, allocations: 0.4969 MB / 378.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.002339, allocations: 1.401 MB / 379.9 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.002367, allocations: 3.938 kB / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.002384, allocations: 0 / 379.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.779e-05/0.002412, allocations: 7.938 kB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.002921, allocations: 212 kB / 380.1 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.827e-05/0.00297, allocations: 7.984 kB / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.003004, allocations: 0 / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.00303, allocations: 4 kB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.003074, allocations: 7.984 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003087, allocations: 0 / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.003402, allocations: 271.5 kB / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.003413, allocations: 0 / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.003428, allocations: 0 / 380.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.003631, allocations: 195.5 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003633, allocations: 0 / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003634, allocations: 0 / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.003638, allocations: 3.938 kB / 380.6 MB, free: 392 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003099/0.003948, allocations: 364.2 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.003984, allocations: 12.03 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.004023, allocations: 5.234 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.466e-05/0.004108, allocations: 108.6 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.004119, allocations: 384 / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.004127, allocations: 4.375 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.934e-05/0.004216, allocations: 59.95 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.004223, allocations: 192 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.004233, allocations: 4.375 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.004241, allocations: 3.938 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.311e-05/0.004254, allocations: 0 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.004358, allocations: 108.6 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.004394, allocations: 27 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.004409, allocations: 15.78 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.004417, allocations: 3.984 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.004439, allocations: 37.39 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.00444, allocations: 0 / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.004559, allocations: 37.64 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.004587, allocations: 59.28 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.004657, allocations: 153.9 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.004667, allocations: 25.7 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.004697, allocations: 134.9 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.004715, allocations: 4.25 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.004738, allocations: 19.38 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.004834, allocations: 492.1 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.004842, allocations: 0 / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-06/0.004849, allocations: 4 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.989e-05/0.004869, allocations: 7.688 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00487, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.943e-05/0.00491, allocations: 45.62 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.00492, allocations: 4 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.004924, allocations: 96 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.004936, allocations: 8 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.004984, allocations: 0 / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.004989, allocations: 3.938 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-06/0.004997, allocations: 3.953 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.005005, allocations: 4 kB / 382.3 MB, free: 14.45 MB / 362.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 5.228e-05/0.005057, allocations: 152.6 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-06/0.005063, allocations: 4 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.005161, allocations: 48.84 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005163, allocations: 0 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.005167, allocations: 3.938 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.005169, allocations: 4 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.214e-05/0.005221, allocations: 108.6 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.005224, allocations: 3.938 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.005225, allocations: 4 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005226, allocations: 0 / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005231, allocations: 0 / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005232, allocations: 0 / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.005233, allocations: 4.031 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.922e-05/0.005282, allocations: 76.38 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.005289, allocations: 4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.714e-06/0.005297, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.005354, allocations: 0 / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.005367, allocations: 11.92 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.005376, allocations: 3.938 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.005405, allocations: 119.2 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005405, allocations: 0 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001708/0.005575, allocations: 43.92 kB / 382.9 MB, free: 13.8 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.0001817/0.005757, allocations: 143.3 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.005819, allocations: 19.61 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.00582, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.005847, allocations: 37.39 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.005947, allocations: 4 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001709/0.006118, allocations: 94.42 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.708e-05/0.006145, allocations: 59.28 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.382e-05/0.006159, allocations: 8.125 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.006171, allocations: 8.5 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006172, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of Templates: time 0.002376/0.008548, allocations: 1.137 MB / 384.4 MB, free: 12.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.019465899793431]