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.001279/0.001279, allocations: 117.1 kB / 19.13 MB, free: 3.965 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.001408/0.001408, allocations: 210.5 kB / 22.08 MB, free: 1.012 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.458/1.458, allocations: 227.4 MB / 252.3 MB, free: 100 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.2426/0.2426, allocations: 46.17 MB / 351.8 MB, free: 14.3 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.002296/0.002296, allocations: 84.92 kB / 490.8 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1246, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001541/0.1261, allocations: 0.4909 MB / 0.5408 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.128, allocations: 1.411 MB / 0.5422 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1281, allocations: 0 / 0.5422 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.1281, allocations: 0 / 0.5422 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.023e-05/0.1281, allocations: 4 kB / 0.5422 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.1288, allocations: 224 kB / 0.5424 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.1289, allocations: 11.98 kB / 0.5424 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.1289, allocations: 0 / 0.5424 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.129, allocations: 8 kB / 0.5424 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.129, allocations: 3.984 kB / 0.5424 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.129, allocations: 7.984 kB / 0.5424 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1295, allocations: 283.6 kB / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.1295, allocations: 0 / 0.5427 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.1296, allocations: 7.938 kB / 0.5427 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1298, allocations: 147.6 kB / 0.5428 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1298, allocations: 0 / 0.5428 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1298, allocations: 4 kB / 0.5429 GB, free: 1.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1298, allocations: 0 / 0.5429 GB, free: 1.672 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.0004026/0.1302, allocations: 339.3 kB / 0.5432 GB, free: 1.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1303, allocations: 8.031 kB / 0.5432 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.1303, allocations: 8.891 kB / 0.5432 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.1304, allocations: 160.4 kB / 0.5433 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1304, allocations: 384 / 0.5433 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1305, allocations: 4.312 kB / 0.5433 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.1306, allocations: 46 kB / 0.5434 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1306, allocations: 4 kB / 0.5434 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1306, allocations: 0 / 0.5434 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1306, allocations: 0 / 0.5434 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.1307, allocations: 7.938 kB / 0.5434 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.131, allocations: 248.9 kB / 0.5436 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.1311, allocations: 14.58 kB / 0.5437 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.1311, allocations: 8.922 kB / 0.5437 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.1312, allocations: 7.984 kB / 0.5437 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1312, allocations: 30.56 kB / 0.5437 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1312, allocations: 0 / 0.5437 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.1313, allocations: 45.62 kB / 0.5437 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1314, allocations: 51.41 kB / 0.5438 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.1315, allocations: 93.86 kB / 0.5439 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1315, allocations: 25.7 kB / 0.5439 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.1316, allocations: 92.33 kB / 0.544 GB, free: 308 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.1316, allocations: 7.953 kB / 0.544 GB, free: 300 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.1316, allocations: 13.72 kB / 0.544 GB, free: 280 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1318, allocations: 314.8 kB / 0.5443 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.1318, allocations: 4 kB / 0.5443 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.1318, allocations: 26.56 kB / 0.5443 GB, free: 15.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.1319, allocations: 26.52 kB / 0.5444 GB, free: 15.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1319, allocations: 0 / 0.5444 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.147e-05/0.132, allocations: 45.64 kB / 0.5444 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.132, allocations: 11.98 kB / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.132, allocations: 0 / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.132, allocations: 0 / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.1321, allocations: 4 kB / 0.5444 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1321, allocations: 8.094 kB / 0.5444 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.1321, allocations: 3.938 kB / 0.5444 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1321, allocations: 7.938 kB / 0.5444 GB, free: 15.8 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.496e-05/0.1322, allocations: 113.8 kB / 0.5446 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.1322, allocations: 0 / 0.5446 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.1323, allocations: 44.81 kB / 0.5446 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1324, allocations: 4.031 kB / 0.5446 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1324, allocations: 0 / 0.5446 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1324, allocations: 4 kB / 0.5446 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1325, allocations: 153.6 kB / 0.5448 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1325, allocations: 0 / 0.5448 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1325, allocations: 0 / 0.5448 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1326, allocations: 4 kB / 0.5448 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.1326, allocations: 7.875 kB / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1326, allocations: 0 / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1326, allocations: 0 / 0.5448 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.1327, allocations: 143.4 kB / 0.5449 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.1328, allocations: 77.11 kB / 0.545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1328, allocations: 0 / 0.545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.1328, allocations: 4 kB / 0.545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1328, allocations: 0 / 0.545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1329, allocations: 0 / 0.545 GB, free: 15.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.1329, allocations: 79.28 kB / 0.5451 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1329, allocations: 4.125 kB / 0.5451 GB, free: 15.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1332, allocations: 39.92 kB / 0.5451 GB, free: 15.04 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.0002723/0.1335, allocations: 139.2 kB / 0.5452 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.1336, allocations: 15.92 kB / 0.5452 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1336, allocations: 0 / 0.5452 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.32e-05/0.1336, allocations: 29.7 kB / 0.5453 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1338, allocations: 10.69 kB / 0.5453 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.1341, allocations: 107 kB / 0.5454 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1344, allocations: 0.6729 MB / 0.546 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.1344, allocations: 11.44 kB / 0.5461 GB, free: 13.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1344, allocations: 0 / 0.5461 GB, free: 13.98 MB / 414.1 MB Notification: Performance of Templates: time 0.002703/0.1371, allocations: 0.9298 MB / 0.547 GB, free: 13.05 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.38969028100837]