Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.001775/0.001775, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.002191/0.002191, allocations: 206.6 kB / 21.41 MB, free: 1.645 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.441/1.441, allocations: 227.4 MB / 251.6 MB, free: 76 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.2283/0.2283, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 81.16 kB / 490.2 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 62.44 MB / 0.5397 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001584/0.1217, allocations: 0.5008 MB / 0.5401 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1238, allocations: 1.409 MB / 0.5415 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1238, allocations: 3.938 kB / 0.5415 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.1239, allocations: 0 / 0.5415 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.1239, allocations: 3.938 kB / 0.5415 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008029/0.1247, allocations: 216.1 kB / 0.5417 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.1248, allocations: 11.97 kB / 0.5417 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1248, allocations: 4 kB / 0.5417 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.1249, allocations: 0 / 0.5417 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.1249, allocations: 8 kB / 0.5418 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.1249, allocations: 0 / 0.5418 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.1255, allocations: 291.5 kB / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.1255, allocations: 0 / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1255, allocations: 7.938 kB / 0.542 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1258, allocations: 143.6 kB / 0.5422 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1258, allocations: 0 / 0.5422 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1258, allocations: 0 / 0.5422 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1258, allocations: 0 / 0.5422 GB, free: 1.758 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004511/0.1262, allocations: 343.3 kB / 0.5425 GB, free: 1.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1263, allocations: 16.02 kB / 0.5425 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.1263, allocations: 4.938 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.1265, allocations: 160.4 kB / 0.5427 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1265, allocations: 384 / 0.5427 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1265, allocations: 384 / 0.5427 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.1266, allocations: 37.95 kB / 0.5427 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1266, allocations: 7.922 kB / 0.5427 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1267, allocations: 0 / 0.5427 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1267, allocations: 0 / 0.5427 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.1267, allocations: 7.984 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.1269, allocations: 153.7 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.1269, allocations: 18.52 kB / 0.5429 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.127, allocations: 8.797 kB / 0.5429 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-06/0.127, allocations: 4.062 kB / 0.5429 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.127, allocations: 38.48 kB / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.127, allocations: 0 / 0.5429 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.1272, allocations: 37.8 kB / 0.543 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1272, allocations: 55.44 kB / 0.543 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.1273, allocations: 89.86 kB / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1274, allocations: 29.7 kB / 0.5431 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.1274, allocations: 80.14 kB / 0.5432 GB, free: 500 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1275, allocations: 7.938 kB / 0.5432 GB, free: 492 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1275, allocations: 13.72 kB / 0.5432 GB, free: 472 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1276, allocations: 314.8 kB / 0.5435 GB, free: 148 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.1277, allocations: 8.062 kB / 0.5435 GB, free: 140 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.1277, allocations: 0 / 0.5435 GB, free: 140 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.1277, allocations: 8.859 kB / 0.5436 GB, free: 128 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1277, allocations: 0 / 0.5436 GB, free: 128 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.159e-05/0.1278, allocations: 37.69 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1278, allocations: 7.938 kB / 0.5436 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1278, allocations: 0 / 0.5436 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1278, allocations: 0 / 0.5436 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.1279, allocations: 4.094 kB / 0.5436 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1279, allocations: 4 kB / 0.5436 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.1279, allocations: 4 kB / 0.5436 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1279, allocations: 0 / 0.5436 GB, free: 64 kB / 398.1 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 0.0001269/0.1281, allocations: 113.8 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.1281, allocations: 3.938 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1282, allocations: 44.81 kB / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1282, allocations: 0 / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1282, allocations: 0 / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1282, allocations: 0 / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.1284, allocations: 153.7 kB / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.1284, allocations: 4 kB / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1284, allocations: 0 / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1284, allocations: 3.938 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1284, allocations: 4 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1284, allocations: 3.938 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1284, allocations: 3.938 kB / 0.5439 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.1285, allocations: 69.09 kB / 0.544 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.1286, allocations: 81.05 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1286, allocations: 0 / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.1286, allocations: 4 kB / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.1287, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1287, allocations: 0 / 0.5441 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.722e-05/0.1287, allocations: 87.3 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1287, allocations: 0 / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.129, allocations: 39.94 kB / 0.5442 GB, free: 15.36 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.0002728/0.1292, allocations: 139.1 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.1293, allocations: 4 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1293, allocations: 0 / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.786e-05/0.1294, allocations: 33.64 kB / 0.5444 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1295, allocations: 4.781 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.1298, allocations: 85.05 kB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1301, allocations: 0.6729 MB / 0.5451 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.54e-05/0.1301, allocations: 0 / 0.5451 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1302, allocations: 7.438 kB / 0.5451 GB, free: 14.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1302, allocations: 0 / 0.5451 GB, free: 14.35 MB / 414.1 MB Notification: Performance of Templates: time 0.003614/0.1338, allocations: 1.097 MB / 0.5462 GB, free: 13.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.752600971609354]