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.001434/0.001434, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001517/0.001517, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.47/1.47, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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.325/0.325, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.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.293e-06/1.293e-06, allocations: 0 / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.323e-05, allocations: 4.844 kB / 377.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001668/0.001691, allocations: 0.4934 MB / 377.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003194/0.002011, allocations: 103.5 kB / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.002039, allocations: 0 / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.076e-05/0.00205, allocations: 0 / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.002276, allocations: 15.92 kB / 377.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.62e-05/0.002292, allocations: 0 / 377.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.002346, allocations: 7.984 kB / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.002381, allocations: 3.984 kB / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.002411, allocations: 7.938 kB / 377.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.002451, allocations: 0 / 377.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.002464, allocations: 4 kB / 377.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.036e-05/0.002544, allocations: 19.98 kB / 377.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.002559, allocations: 7.984 kB / 377.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.002577, allocations: 0 / 377.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.845e-05/0.002665, allocations: 23.91 kB / 377.9 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002667, allocations: 3.938 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.002668, allocations: 0 / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.002671, allocations: 0 / 377.9 MB, free: 2.25 MB / 346.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.0003274/0.002998, allocations: 242.4 kB / 378.1 MB, free: 1.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.003034, allocations: 8.031 kB / 378.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.003075, allocations: 8.938 kB / 378.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.003186, allocations: 109.7 kB / 378.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.003197, allocations: 384 / 378.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.00322, allocations: 4.375 kB / 378.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.003314, allocations: 38.25 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.003326, allocations: 4.141 kB / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.003333, allocations: 384 / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.003337, allocations: 384 / 378.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.003376, allocations: 15.91 kB / 378.3 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.003526, allocations: 101.3 kB / 378.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.003716, allocations: 34.55 kB / 378.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.003747, allocations: 20.86 kB / 378.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/0.004089, allocations: 36.03 kB / 378.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.004121, allocations: 34.56 kB / 378.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.004122, allocations: 0 / 378.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001397/0.00552, allocations: 185.4 kB / 378.7 MB, free: 1.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.005572, allocations: 59.34 kB / 378.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.005655, allocations: 89.86 kB / 378.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.005678, allocations: 25.7 kB / 378.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.005727, allocations: 80.14 kB / 379 MB, free: 1.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.005763, allocations: 19.86 kB / 379 MB, free: 1.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.005811, allocations: 21.7 kB / 379 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.005984, allocations: 315 kB / 379.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.006072, allocations: 19.98 kB / 379.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.006161, allocations: 23.97 kB / 379.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.006332, allocations: 48.77 kB / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.006333, allocations: 0 / 379.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002196/0.006552, allocations: 69.67 kB / 379.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.006567, allocations: 8 kB / 379.5 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006572, allocations: 4 kB / 379.5 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.006588, allocations: 3.938 kB / 379.5 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.006719, allocations: 15.98 kB / 379.5 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.006729, allocations: 7.922 kB / 379.5 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.006821, allocations: 4 kB / 379.5 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.006833, allocations: 4 kB / 379.5 MB, free: 456 kB / 346.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 9.49e-05/0.006928, allocations: 113.8 kB / 379.6 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.006944, allocations: 3.984 kB / 379.6 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.007229, allocations: 85.31 kB / 379.7 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.007232, allocations: 4 kB / 379.7 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.007238, allocations: 4.25 kB / 379.7 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.00724, allocations: 0 / 379.7 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007853/0.008025, allocations: 302.9 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.00803, allocations: 12.03 kB / 380 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.008133, allocations: 11.98 kB / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008135, allocations: 0 / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.008146, allocations: 7.938 kB / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008147, allocations: 0 / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008148, allocations: 0 / 380 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.008436, allocations: 176.3 kB / 380.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.008449, allocations: 8 kB / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.008466, allocations: 3.938 kB / 380.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.008579, allocations: 11.98 kB / 380.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.008592, allocations: 0 / 380.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.008603, allocations: 7.984 kB / 380.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.00865, allocations: 75.28 kB / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00865, allocations: 0 / 380.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.008889, allocations: 8 kB / 380.3 MB, free: 15.55 MB / 362.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 0.0001578/0.009046, allocations: 103.2 kB / 380.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.009267, allocations: 51.98 kB / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009268, allocations: 0 / 380.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.00936, allocations: 27.92 kB / 380.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.00958, allocations: 4.359 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.01004, allocations: 153.3 kB / 380.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.0101, allocations: 63.3 kB / 380.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.01015, allocations: 8.047 kB / 380.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.01019, allocations: 12.5 kB / 380.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01019, allocations: 0 / 380.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Templates: time 0.00321/0.0134, allocations: 0.7125 MB / 381.4 MB, free: 14.37 MB / 362.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=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.1.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.607384578906931]