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.001361/0.001361, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001347/0.001347, allocations: 201 kB / 21.45 MB, free: 1.59 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.442/1.442, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.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.2248/0.2248, allocations: 46.91 MB / 357.4 MB, free: 10.45 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.002349/0.002349, allocations: 87.83 kB / 0.4917 GB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.13, allocations: 65.99 MB / 0.5562 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001782/0.1317, allocations: 0.4969 MB / 0.5566 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003266/0.1321, allocations: 104.3 kB / 0.5567 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.1321, allocations: 0 / 0.5567 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1321, allocations: 0 / 0.5567 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1323, allocations: 15.92 kB / 0.5568 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.46e-05/0.1323, allocations: 4 kB / 0.5568 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.351e-05/0.1324, allocations: 11.91 kB / 0.5568 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.1324, allocations: 4 kB / 0.5568 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.1324, allocations: 3.938 kB / 0.5568 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.74e-05/0.1325, allocations: 4 kB / 0.5568 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1325, allocations: 0 / 0.5568 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.1326, allocations: 27.97 kB / 0.5568 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-06/0.1326, allocations: 0 / 0.5568 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.1326, allocations: 7.938 kB / 0.5568 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.1327, allocations: 15.97 kB / 0.5568 GB, free: 4.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1327, allocations: 4 kB / 0.5568 GB, free: 4.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1327, allocations: 0 / 0.5568 GB, free: 4.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1327, allocations: 0 / 0.5568 GB, free: 4.965 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.0003341/0.133, allocations: 319.5 kB / 0.5571 GB, free: 4.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.133, allocations: 8.031 kB / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1331, allocations: 4.938 kB / 0.5572 GB, free: 4.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1332, allocations: 168.4 kB / 0.5573 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1332, allocations: 384 / 0.5573 GB, free: 4.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1332, allocations: 8.312 kB / 0.5573 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.801e-05/0.1333, allocations: 34.25 kB / 0.5574 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1333, allocations: 192 / 0.5574 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1333, allocations: 7.938 kB / 0.5574 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1333, allocations: 0 / 0.5574 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.1334, allocations: 7.984 kB / 0.5574 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1336, allocations: 153.7 kB / 0.5575 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1337, allocations: 38.55 kB / 0.5576 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.1338, allocations: 16.8 kB / 0.5576 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.1341, allocations: 113.1 kB / 0.5577 GB, free: 3.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1341, allocations: 34.56 kB / 0.5577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1341, allocations: 0 / 0.5577 GB, free: 3.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.001261/0.1354, allocations: 193.2 kB / 0.5579 GB, free: 3.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1354, allocations: 55.41 kB / 0.5579 GB, free: 3.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.778e-05/0.1355, allocations: 97.86 kB / 0.558 GB, free: 3.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1355, allocations: 25.7 kB / 0.5581 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.1356, allocations: 84.12 kB / 0.5581 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1356, allocations: 15.91 kB / 0.5582 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.1356, allocations: 13.72 kB / 0.5582 GB, free: 3.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1358, allocations: 318.8 kB / 0.5585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.1359, allocations: 15.98 kB / 0.5585 GB, free: 3.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.1359, allocations: 24.3 kB / 0.5585 GB, free: 3.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1361, allocations: 44.83 kB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1361, allocations: 0 / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002132/0.1363, allocations: 85.59 kB / 0.5586 GB, free: 2.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1363, allocations: 7.938 kB / 0.5586 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.1363, allocations: 0 / 0.5586 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1363, allocations: 0 / 0.5586 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1365, allocations: 19.98 kB / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1365, allocations: 0 / 0.5587 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.1366, allocations: 7.984 kB / 0.5587 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1366, allocations: 0 / 0.5587 GB, free: 2.836 MB / 414.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 9.119e-05/0.1367, allocations: 113.8 kB / 0.5588 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.1367, allocations: 7.891 kB / 0.5588 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.137, allocations: 93.14 kB / 0.5589 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.137, allocations: 4 kB / 0.5589 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.137, allocations: 0 / 0.5589 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.137, allocations: 0 / 0.5589 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.1377, allocations: 347.3 kB / 0.5592 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1377, allocations: 8.359 kB / 0.5592 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.1378, allocations: 11.98 kB / 0.5592 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1378, allocations: 0 / 0.5592 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1378, allocations: 7.984 kB / 0.5592 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1378, allocations: 8.062 kB / 0.5592 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1378, allocations: 0 / 0.5592 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1381, allocations: 188.2 kB / 0.5594 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1382, allocations: 85.06 kB / 0.5595 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1382, allocations: 0 / 0.5595 GB, free: 1.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1383, allocations: 8 kB / 0.5595 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.1383, allocations: 7.984 kB / 0.5595 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.1383, allocations: 0 / 0.5595 GB, free: 1.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.749e-05/0.1383, allocations: 75.28 kB / 0.5596 GB, free: 1.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1383, allocations: 0 / 0.5596 GB, free: 1.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1386, allocations: 16.03 kB / 0.5596 GB, free: 1.766 MB / 414.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.0001821/0.1387, allocations: 103.2 kB / 0.5597 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.139, allocations: 55.83 kB / 0.5598 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.139, allocations: 0 / 0.5598 GB, free: 1.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.1391, allocations: 27.97 kB / 0.5598 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1393, allocations: 0 / 0.5598 GB, free: 1.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/0.1397, allocations: 137.9 kB / 0.5599 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1401, allocations: 0.6768 MB / 0.5606 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.1401, allocations: 8 kB / 0.5606 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.1402, allocations: 7.438 kB / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1402, allocations: 0 / 0.5606 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of Templates: time 0.003231/0.1434, allocations: 0.662 MB / 0.5612 GB, free: 28 kB / 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.827700381167233]