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.0007576/0.0007576, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001797, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007286/0.0007286, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009687/0.001697, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9211/0.9211, allocations: 177.5 MB / 190.1 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07566/0.9967, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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.232/0.232, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02156/0.2535, allocations: 13.24 MB / 292.8 MB, free: 6.383 MB / 282.7 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 1.593e-06/1.593e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.252e-05, allocations: 5.531 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001478/0.001501, allocations: 0.5507 MB / 294.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.001651, allocations: 107.4 kB / 294.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.001668, allocations: 0 / 294.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.386e-06/0.001671, allocations: 0 / 294.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.001753, allocations: 15.92 kB / 294.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.839e-06/0.001763, allocations: 7.938 kB / 294.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.223e-05/0.001805, allocations: 4 kB / 294.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.258e-05/0.001838, allocations: 4 kB / 294.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.001877, allocations: 7.984 kB / 294.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.001922, allocations: 7.938 kB / 294.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.001936, allocations: 4 kB / 294.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.989e-05/0.002016, allocations: 23.91 kB / 294.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.002026, allocations: 7.938 kB / 294.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.02e-05/0.002036, allocations: 0 / 294.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.18e-05/0.002108, allocations: 11.98 kB / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.002118, allocations: 0 / 294.8 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002118, allocations: 11.94 kB / 294.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.002126, allocations: 0 / 294.8 MB, free: 4.348 MB / 282.7 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.000224/0.00235, allocations: 216.7 kB / 295.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.612e-05/0.002376, allocations: 8.922 kB / 295.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.002399, allocations: 0.9375 kB / 295.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.504e-05/0.002484, allocations: 109.8 kB / 295.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.002493, allocations: 4.375 kB / 295.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.002515, allocations: 5.062 kB / 295.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.764e-05/0.002583, allocations: 26.27 kB / 295.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.002591, allocations: 192 / 295.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.002596, allocations: 8.375 kB / 295.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.002601, allocations: 384 / 295.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.002621, allocations: 15.86 kB / 295.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.117e-05/0.002702, allocations: 65.55 kB / 295.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.002837, allocations: 30.61 kB / 295.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.00285, allocations: 8.859 kB / 295.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.003007, allocations: 24.06 kB / 295.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003026, allocations: 38.55 kB / 295.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003027, allocations: 4 kB / 295.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000604/0.003631, allocations: 255.2 kB / 295.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.003656, allocations: 59.41 kB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.024e-05/0.003696, allocations: 94.72 kB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.003707, allocations: 29.83 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/0.003725, allocations: 80.14 kB / 295.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.003749, allocations: 19.88 kB / 295.9 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.003775, allocations: 17.72 kB / 295.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.003837, allocations: 314.8 kB / 296.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.003851, allocations: 4 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/0.003864, allocations: 11.98 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.003903, allocations: 16.84 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.003904, allocations: 4 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.104e-05/0.003955, allocations: 49.62 kB / 296.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.003967, allocations: 11.98 kB / 296.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.00397, allocations: 4 kB / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.00398, allocations: 0 / 296.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.004051, allocations: 15.92 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.004055, allocations: 4 kB / 296.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.004082, allocations: 3.938 kB / 296.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.004087, allocations: 4 kB / 296.4 MB, free: 2.637 MB / 282.7 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 4.81e-05/0.004135, allocations: 105.8 kB / 296.5 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.004144, allocations: 7.984 kB / 296.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.004223, allocations: 61.52 kB / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004224, allocations: 0 / 296.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004226, allocations: 4.062 kB / 296.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004229, allocations: 0 / 296.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.004497, allocations: 231.5 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0045, allocations: 4 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.004539, allocations: 11.98 kB / 296.8 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.004544, allocations: 8.031 kB / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.004545, allocations: 0 / 296.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.004551, allocations: 4 kB / 296.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.004554, allocations: 7.922 kB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.004555, allocations: 4 kB / 296.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.203e-05/0.004628, allocations: 144.3 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-06/0.004635, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.004674, allocations: 8 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.004686, allocations: 7.922 kB / 297 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.00469, allocations: 4 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.236e-06/0.004698, allocations: 8.859 kB / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004698, allocations: 0 / 297 MB, free: 1.965 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001239/0.004822, allocations: 11.94 kB / 297 MB, free: 1.953 MB / 282.7 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 9.971e-05/0.004922, allocations: 80.41 kB / 297.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.433e-05/0.004986, allocations: 28.8 kB / 297.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.004991, allocations: 3.938 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.29e-05/0.005013, allocations: 24.83 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.005119, allocations: 8.172 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.005309, allocations: 135.3 kB / 297.3 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.849e-05/0.005338, allocations: 55.36 kB / 297.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.499e-05/0.005363, allocations: 9 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.005405, allocations: 55.36 kB / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.005405, allocations: 0 / 297.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of Templates: time 0.001932/0.007337, allocations: 0.795 MB / 298.2 MB, free: 0.7109 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5397857185453176]