Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.001539/0.001539, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001846/0.001846, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.2411/0.2411, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.89 kB / 0.492 GB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1251, allocations: 66 MB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001807/0.1269, allocations: 496.9 kB / 0.557 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.1291, allocations: 1.412 MB / 0.5584 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.952e-05/0.1291, allocations: 0 / 0.5584 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1291, allocations: 0 / 0.5584 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.1291, allocations: 3.938 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.1299, allocations: 215.8 kB / 0.5586 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.1299, allocations: 11.98 kB / 0.5586 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.13, allocations: 4 kB / 0.5586 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.13, allocations: 4 kB / 0.5586 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.1301, allocations: 15.91 kB / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1301, allocations: 0 / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005448/0.1306, allocations: 275.6 kB / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1306, allocations: 0 / 0.5589 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.1306, allocations: 4 kB / 0.5589 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1309, allocations: 143.6 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1309, allocations: 0 / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1309, allocations: 4 kB / 0.559 GB, free: 2.805 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1309, allocations: 0 / 0.559 GB, free: 2.805 MB / 414.1 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.0004537/0.1314, allocations: 335.4 kB / 0.5593 GB, free: 2.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1314, allocations: 12.03 kB / 0.5593 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1315, allocations: 4.891 kB / 0.5593 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1316, allocations: 172.2 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1316, allocations: 4.375 kB / 0.5595 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1316, allocations: 4.375 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1317, allocations: 42 kB / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1318, allocations: 0 / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1318, allocations: 0 / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1318, allocations: 0 / 0.5596 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.1318, allocations: 8 kB / 0.5596 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1322, allocations: 240.9 kB / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.1323, allocations: 26.5 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.623e-05/0.1323, allocations: 12.86 kB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1323, allocations: 0 / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1324, allocations: 34.56 kB / 0.5599 GB, free: 1.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1324, allocations: 4.062 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.1325, allocations: 29.7 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1326, allocations: 55.34 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.801e-05/0.1327, allocations: 105.8 kB / 0.56 GB, free: 1.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1327, allocations: 25.95 kB / 0.5601 GB, free: 1.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.1328, allocations: 88.09 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.1328, allocations: 7.953 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.1328, allocations: 13.72 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1329, allocations: 322.8 kB / 0.5605 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.133, allocations: 0 / 0.5605 GB, free: 1.074 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.133, allocations: 18.58 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.133, allocations: 30.52 kB / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.133, allocations: 0 / 0.5605 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.833e-05/0.1331, allocations: 53.62 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1331, allocations: 4 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1331, allocations: 0 / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1331, allocations: 4 kB / 0.5606 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.1332, allocations: 8.094 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1332, allocations: 0 / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.1332, allocations: 0 / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1332, allocations: 7.984 kB / 0.5606 GB, free: 0.9258 MB / 414.1 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.108e-05/0.1333, allocations: 112 kB / 0.5607 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1333, allocations: 7.938 kB / 0.5607 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.1334, allocations: 52.7 kB / 0.5608 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1334, allocations: 3.984 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1335, allocations: 0 / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1335, allocations: 0 / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.1336, allocations: 145.6 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1336, allocations: 4 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1336, allocations: 0 / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1336, allocations: 0 / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.1336, allocations: 0 / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1336, allocations: 3.984 kB / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1336, allocations: 0 / 0.5609 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1337, allocations: 135.5 kB / 0.561 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.1338, allocations: 77.11 kB / 0.5611 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1338, allocations: 4 kB / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.1339, allocations: 7.984 kB / 0.5611 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.1339, allocations: 3.938 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1339, allocations: 0 / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.1339, allocations: 87.31 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1339, allocations: 0 / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1342, allocations: 39.94 kB / 0.5613 GB, free: 164 kB / 414.1 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.0002759/0.1345, allocations: 135.1 kB / 0.5614 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.857e-05/0.1346, allocations: 12 kB / 0.5614 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1346, allocations: 0 / 0.5614 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.1347, allocations: 33.64 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1349, allocations: 4.281 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.1352, allocations: 114.8 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1355, allocations: 0.669 MB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.1355, allocations: 11.44 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1355, allocations: 0 / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of Templates: time 0.00271/0.1382, allocations: 0.9266 MB / 0.5631 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.386250146984821]