Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001278/0.001278, allocations: 120.8 kB / 18.45 MB, free: 4.57 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.001265/0.001266, allocations: 205 kB / 21.41 MB, free: 1.625 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.434/1.434, allocations: 227.4 MB / 251.6 MB, free: 272 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.2274/0.2274, allocations: 46.16 MB / 351.1 MB, free: 14.32 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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 77.31 kB / 490.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1243, allocations: 62.45 MB / 0.5397 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001738/0.1261, allocations: 0.491 MB / 0.5401 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003638/0.1265, allocations: 103.6 kB / 0.5402 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.1265, allocations: 0 / 0.5402 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.1265, allocations: 3.938 kB / 0.5402 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1268, allocations: 15.92 kB / 0.5403 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.702e-05/0.1268, allocations: 4 kB / 0.5403 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.043e-05/0.1269, allocations: 4 kB / 0.5403 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.1269, allocations: 4.391 kB / 0.5403 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.127, allocations: 0 / 0.5403 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.127, allocations: 19.88 kB / 0.5403 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.127, allocations: 0 / 0.5403 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.1271, allocations: 15.98 kB / 0.5403 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.1272, allocations: 11.97 kB / 0.5403 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.1272, allocations: 0 / 0.5403 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.53e-05/0.1273, allocations: 23.86 kB / 0.5403 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1273, allocations: 0 / 0.5403 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1273, allocations: 0 / 0.5403 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1273, allocations: 0 / 0.5403 GB, free: 3.461 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.000383/0.1277, allocations: 319.5 kB / 0.5406 GB, free: 3.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1277, allocations: 12.03 kB / 0.5407 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1278, allocations: 4.938 kB / 0.5407 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1279, allocations: 160.4 kB / 0.5408 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1279, allocations: 4.375 kB / 0.5408 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.128, allocations: 384 / 0.5408 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1281, allocations: 38.23 kB / 0.5409 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1281, allocations: 4.188 kB / 0.5409 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1281, allocations: 7.875 kB / 0.5409 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1281, allocations: 0 / 0.5409 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.1282, allocations: 8 kB / 0.5409 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.1284, allocations: 153.7 kB / 0.541 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1286, allocations: 38.61 kB / 0.5411 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.1286, allocations: 12.86 kB / 0.5411 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.129, allocations: 117.1 kB / 0.5412 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.129, allocations: 38.5 kB / 0.5412 GB, free: 2.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.129, allocations: 0 / 0.5412 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001251/0.1303, allocations: 185.4 kB / 0.5414 GB, free: 2.191 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.1303, allocations: 59.34 kB / 0.5415 GB, free: 2.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.1304, allocations: 89.86 kB / 0.5415 GB, free: 2.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1305, allocations: 25.7 kB / 0.5416 GB, free: 1.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.1305, allocations: 84.08 kB / 0.5416 GB, free: 1.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1306, allocations: 23.83 kB / 0.5417 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.1306, allocations: 17.72 kB / 0.5417 GB, free: 1.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1308, allocations: 310.8 kB / 0.542 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.1309, allocations: 28.09 kB / 0.542 GB, free: 1.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.1309, allocations: 15.98 kB / 0.542 GB, free: 1.504 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.1311, allocations: 52.77 kB / 0.5421 GB, free: 1.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1311, allocations: 0 / 0.5421 GB, free: 1.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.1313, allocations: 77.84 kB / 0.5421 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.1314, allocations: 11.88 kB / 0.5422 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1314, allocations: 4 kB / 0.5422 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1314, allocations: 4 kB / 0.5422 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1315, allocations: 11.98 kB / 0.5422 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1315, allocations: 0 / 0.5422 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.1316, allocations: 4 kB / 0.5422 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1316, allocations: 7.984 kB / 0.5422 GB, free: 1.324 MB / 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 (5): * Single equations (assignments): 5 * 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.244e-05/0.1317, allocations: 109.8 kB / 0.5423 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.1317, allocations: 7.891 kB / 0.5423 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.132, allocations: 93.2 kB / 0.5424 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.132, allocations: 3.938 kB / 0.5424 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.132, allocations: 0 / 0.5424 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.132, allocations: 0 / 0.5424 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.1328, allocations: 351.3 kB / 0.5427 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1328, allocations: 3.938 kB / 0.5427 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.073e-05/0.1329, allocations: 11.98 kB / 0.5427 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1329, allocations: 4 kB / 0.5427 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1329, allocations: 4 kB / 0.5428 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1329, allocations: 0 / 0.5428 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1329, allocations: 3.984 kB / 0.5428 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1332, allocations: 176.7 kB / 0.5429 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1333, allocations: 85.05 kB / 0.543 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1333, allocations: 4 kB / 0.543 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.1334, allocations: 8.172 kB / 0.543 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1334, allocations: 11.92 kB / 0.543 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1334, allocations: 4 kB / 0.543 GB, free: 360 kB / 398.1 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.1335, allocations: 87.22 kB / 0.5431 GB, free: 272 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1335, allocations: 0 / 0.5431 GB, free: 272 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.1337, allocations: 8 kB / 0.5431 GB, free: 264 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001515/0.1339, allocations: 103.2 kB / 0.5432 GB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1341, allocations: 47.89 kB / 0.5433 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1341, allocations: 0 / 0.5433 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.1342, allocations: 32.08 kB / 0.5433 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1344, allocations: 6.016 kB / 0.5433 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.1348, allocations: 129.8 kB / 0.5434 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1352, allocations: 0.6729 MB / 0.5441 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.315e-05/0.1352, allocations: 11.98 kB / 0.5441 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1353, allocations: 11.44 kB / 0.5441 GB, free: 15.18 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1353, allocations: 3.938 kB / 0.5441 GB, free: 15.18 MB / 414.1 MB Notification: Performance of Templates: time 0.002968/0.1382, allocations: 0.6633 MB / 0.5448 GB, free: 14.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.728612594306469]