Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009974/0.0009974, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.032/1.032, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2807/0.2807, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.371e-05, allocations: 8.562 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001296/0.00133, allocations: 0.5126 MB / 376.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002758/0.001606, allocations: 103.7 kB / 376.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.001631, allocations: 0 / 376.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.001652, allocations: 0 / 376.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.001886, allocations: 19.92 kB / 376.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.259e-05/0.001899, allocations: 0 / 376.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.001945, allocations: 7.938 kB / 376.6 MB, free: 4.051 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.001988, allocations: 4 kB / 376.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.002015, allocations: 0 / 376.6 MB, free: 4.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.002057, allocations: 3.984 kB / 376.6 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.002072, allocations: 4 kB / 376.6 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.655e-05/0.002158, allocations: 19.97 kB / 376.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.002171, allocations: 0 / 376.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.002187, allocations: 4 kB / 376.7 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.002277, allocations: 27.84 kB / 376.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.002279, allocations: 0 / 376.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.002281, allocations: 4 kB / 376.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.002286, allocations: 3.938 kB / 376.7 MB, free: 3.98 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.0002724/0.002558, allocations: 344.4 kB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.002597, allocations: 8.031 kB / 377 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.002637, allocations: 9.281 kB / 377.1 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.002726, allocations: 108.6 kB / 377.2 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.00274, allocations: 8.375 kB / 377.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.002768, allocations: 384 / 377.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.002853, allocations: 38.25 kB / 377.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.002864, allocations: 192 / 377.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.002873, allocations: 384 / 377.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.002881, allocations: 384 / 377.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.002909, allocations: 7.938 kB / 377.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.003043, allocations: 120.6 kB / 377.3 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.003241, allocations: 39.06 kB / 377.4 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.003266, allocations: 15.77 kB / 377.4 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.003474, allocations: 27.97 kB / 377.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.049e-05/0.003554, allocations: 37.39 kB / 377.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.003556, allocations: 0 / 377.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006503/0.004206, allocations: 162.1 kB / 377.6 MB, free: 2.934 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.004233, allocations: 55.34 kB / 377.7 MB, free: 2.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.004294, allocations: 149.9 kB / 377.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.004305, allocations: 33.83 kB / 377.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.004331, allocations: 130.9 kB / 378 MB, free: 2.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.004357, allocations: 11.86 kB / 378 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.00439, allocations: 27.36 kB / 378 MB, free: 2.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.004498, allocations: 496.1 kB / 378.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.004524, allocations: 11.92 kB / 378.5 MB, free: 1.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.004541, allocations: 11.94 kB / 378.5 MB, free: 1.965 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.004585, allocations: 27.69 kB / 378.5 MB, free: 1.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.004586, allocations: 0 / 378.5 MB, free: 1.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.884e-05/0.004665, allocations: 53.69 kB / 378.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.004678, allocations: 12 kB / 378.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004682, allocations: 0 / 378.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.004698, allocations: 0 / 378.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.00477, allocations: 15.92 kB / 378.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.004778, allocations: 7.938 kB / 378.6 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.004809, allocations: 3.984 kB / 378.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.004817, allocations: 4 kB / 378.6 MB, free: 1.832 MB / 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 6.405e-05/0.004881, allocations: 156.6 kB / 378.8 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.004893, allocations: 4.25 kB / 378.8 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.00502, allocations: 69.33 kB / 378.9 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.005024, allocations: 4 kB / 378.9 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.005029, allocations: 3.938 kB / 378.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005032, allocations: 0 / 378.9 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.0055, allocations: 337 kB / 379.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.005503, allocations: 0 / 379.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.005568, allocations: 11.98 kB / 379.2 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.005571, allocations: 4.031 kB / 379.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.005584, allocations: 11.88 kB / 379.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.005587, allocations: 0 / 379.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.005589, allocations: 0 / 379.2 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.00572, allocations: 211.6 kB / 379.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.005727, allocations: 4 kB / 379.4 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.00574, allocations: 3.938 kB / 379.4 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.005789, allocations: 8 kB / 379.4 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.005806, allocations: 3.984 kB / 379.5 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.005811, allocations: 4 kB / 379.5 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.005841, allocations: 123.2 kB / 379.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005841, allocations: 0 / 379.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.006014, allocations: 11.94 kB / 379.6 MB, free: 0.7969 MB / 346.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.0001303/0.006144, allocations: 99.19 kB / 379.7 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.006254, allocations: 39.61 kB / 379.7 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006255, allocations: 0 / 379.7 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.006279, allocations: 27.61 kB / 379.8 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.006469, allocations: 6.031 kB / 379.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.006748, allocations: 141.9 kB / 379.9 MB, free: 452 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.006785, allocations: 59.34 kB / 380 MB, free: 372 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.708e-05/0.006812, allocations: 256 / 380 MB, free: 372 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.006844, allocations: 20.5 kB / 380 MB, free: 352 kB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.006845, allocations: 0 / 380 MB, free: 352 kB / 346.7 MB Notification: Performance of Templates: time 0.00233/0.009174, allocations: 0.7132 MB / 380.7 MB, free: 15.63 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2431549252942204]