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.0017/0.001701, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 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.002037/0.002037, allocations: 203.4 kB / 21.4 MB, free: 1.668 MB / 14.72 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.497/1.497, allocations: 227.4 MB / 251.6 MB, free: 88 kB / 190.1 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.2277/0.2277, allocations: 46.17 MB / 351.1 MB, free: 14.31 MB / 286.1 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 0.002211/0.002211, allocations: 76.78 kB / 490.2 MB, free: 27.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1459, allocations: 62.45 MB / 0.5397 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001717/0.1477, allocations: 0.4947 MB / 0.5401 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1497, allocations: 1.412 MB / 0.5415 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.1498, allocations: 4 kB / 0.5415 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.1498, allocations: 0 / 0.5415 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.1498, allocations: 0 / 0.5415 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007719/0.1506, allocations: 232.8 kB / 0.5417 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.1507, allocations: 7.984 kB / 0.5418 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1507, allocations: 4 kB / 0.5418 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.1507, allocations: 4 kB / 0.5418 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.582e-05/0.1508, allocations: 0 / 0.5418 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1508, allocations: 0 / 0.5418 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1513, allocations: 287.5 kB / 0.542 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.1513, allocations: 11.98 kB / 0.542 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1513, allocations: 7.938 kB / 0.5421 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1516, allocations: 135.7 kB / 0.5422 GB, free: 1.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1516, allocations: 4 kB / 0.5422 GB, free: 1.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1516, allocations: 0 / 0.5422 GB, free: 1.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1516, allocations: 0 / 0.5422 GB, free: 1.699 MB / 398.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.0004919/0.1521, allocations: 339.3 kB / 0.5425 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1521, allocations: 8.031 kB / 0.5425 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1522, allocations: 8.875 kB / 0.5425 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1523, allocations: 164.3 kB / 0.5427 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1523, allocations: 8.375 kB / 0.5427 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.1523, allocations: 384 / 0.5427 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1524, allocations: 45.98 kB / 0.5427 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1524, allocations: 0 / 0.5427 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1525, allocations: 0 / 0.5427 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1525, allocations: 4 kB / 0.5427 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.1525, allocations: 7.938 kB / 0.5427 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.1529, allocations: 252.8 kB / 0.543 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.868e-05/0.153, allocations: 18.58 kB / 0.543 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.153, allocations: 4.859 kB / 0.543 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.153, allocations: 4.062 kB / 0.543 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.153, allocations: 30.56 kB / 0.543 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.153, allocations: 0 / 0.543 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.1532, allocations: 37.64 kB / 0.5431 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1532, allocations: 63.52 kB / 0.5431 GB, free: 0.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.1533, allocations: 89.86 kB / 0.5432 GB, free: 456 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1533, allocations: 25.7 kB / 0.5432 GB, free: 424 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1534, allocations: 92.09 kB / 0.5433 GB, free: 328 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.753e-06/0.1534, allocations: 3.953 kB / 0.5433 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1534, allocations: 13.72 kB / 0.5434 GB, free: 304 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1537, allocations: 318.8 kB / 0.5437 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.1537, allocations: 4 kB / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.1537, allocations: 22.7 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/0.1538, allocations: 30.52 kB / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1538, allocations: 0 / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.981e-05/0.1538, allocations: 45.62 kB / 0.5438 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1539, allocations: 8.094 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1539, allocations: 4 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1539, allocations: 0 / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/0.1539, allocations: 4 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.154, allocations: 3.984 kB / 0.5438 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.154, allocations: 7.938 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.154, allocations: 3.938 kB / 0.5438 GB, free: 15.82 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.516e-05/0.1541, allocations: 117.8 kB / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.1541, allocations: 0 / 0.5439 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1542, allocations: 44.81 kB / 0.5439 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1542, allocations: 0 / 0.5439 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1542, allocations: 0 / 0.5439 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1542, allocations: 4 kB / 0.5439 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.1544, allocations: 153.6 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.1544, allocations: 0 / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1544, allocations: 3.938 kB / 0.5441 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1544, allocations: 4.016 kB / 0.5441 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1544, allocations: 7.938 kB / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1545, allocations: 4 kB / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1545, allocations: 0 / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1546, allocations: 135.5 kB / 0.5442 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.1546, allocations: 81.09 kB / 0.5443 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.1547, allocations: 0 / 0.5443 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.1547, allocations: 3.984 kB / 0.5443 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.1547, allocations: 4.031 kB / 0.5443 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1547, allocations: 4 kB / 0.5443 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.1548, allocations: 75.28 kB / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1548, allocations: 0 / 0.5444 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1551, allocations: 39.94 kB / 0.5444 GB, free: 15.05 MB / 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.0002842/0.1554, allocations: 139.2 kB / 0.5446 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.1554, allocations: 12.09 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1555, allocations: 4.125 kB / 0.5446 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1555, allocations: 29.7 kB / 0.5446 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1557, allocations: 7.938 kB / 0.5446 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.1559, allocations: 77.05 kB / 0.5447 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1562, allocations: 0.6729 MB / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.375e-05/0.1563, allocations: 3.984 kB / 0.5454 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.1563, allocations: 11.5 kB / 0.5454 GB, free: 14.03 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1563, allocations: 4 kB / 0.5454 GB, free: 14.03 MB / 414.1 MB Notification: Performance of Templates: time 0.003745/0.16, allocations: 1.09 MB / 0.5464 GB, free: 12.94 MB / 414.1 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.0.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.882961867377162]