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.0009544/0.0009544, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009659/0.0009659, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 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 0.9664/0.9664, allocations: 177 MB / 205.2 MB, free: 5.008 MB / 186.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.2693/0.2693, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 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.733e-06/1.733e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.787e-05, allocations: 4.844 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001376/0.001404, allocations: 0.5594 MB / 326.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.001659, allocations: 95.66 kB / 326.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.001683, allocations: 3.938 kB / 326.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.001698, allocations: 0 / 326.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.001881, allocations: 15.92 kB / 326.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.105e-05/0.001892, allocations: 0 / 326.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.093e-05/0.001943, allocations: 8.609 kB / 326.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.00198, allocations: 3.984 kB / 326.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.002012, allocations: 12 kB / 326.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.002055, allocations: 3.938 kB / 326.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.002066, allocations: 0 / 326.6 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.002164, allocations: 23.97 kB / 326.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.688e-06/0.002173, allocations: 0 / 326.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.002186, allocations: 4 kB / 326.7 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.759e-05/0.002263, allocations: 23.89 kB / 326.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002265, allocations: 4 kB / 326.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.002267, allocations: 0 / 326.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.00227, allocations: 0 / 326.7 MB, free: 6.402 MB / 298.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.000204/0.002474, allocations: 209.4 kB / 326.9 MB, free: 6.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.002507, allocations: 16.03 kB / 326.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.002531, allocations: 4.922 kB / 326.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.002607, allocations: 114.4 kB / 327 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.002617, allocations: 4.375 kB / 327 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.002632, allocations: 384 / 327 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.605e-05/0.002688, allocations: 34.25 kB / 327.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.002697, allocations: 192 / 327.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.002703, allocations: 384 / 327.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.002707, allocations: 384 / 327.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.002725, allocations: 7.938 kB / 327.1 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.294e-05/0.002808, allocations: 57.39 kB / 327.1 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.002934, allocations: 50.52 kB / 327.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.002946, allocations: 8.859 kB / 327.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.003109, allocations: 28.8 kB / 327.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.003129, allocations: 30.56 kB / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.00313, allocations: 0 / 327.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005217/0.003651, allocations: 154.1 kB / 327.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.003676, allocations: 55.41 kB / 327.4 MB, free: 5.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.088e-05/0.003717, allocations: 94.72 kB / 327.5 MB, free: 5.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.003726, allocations: 25.7 kB / 327.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.628e-05/0.003743, allocations: 84.14 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.003769, allocations: 15.89 kB / 327.7 MB, free: 5.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.003795, allocations: 17.7 kB / 327.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.003861, allocations: 318.8 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.003875, allocations: 8.125 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.003887, allocations: 8 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.003917, allocations: 20.78 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.003918, allocations: 0 / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.202e-05/0.00397, allocations: 45.69 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.003981, allocations: 5.25 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.003986, allocations: 4 kB / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.003997, allocations: 0 / 328.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.004076, allocations: 11.98 kB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.004079, allocations: 0 / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.00411, allocations: 16.17 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.004116, allocations: 4 kB / 328.1 MB, free: 4.82 MB / 298.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 5e-05/0.004166, allocations: 117.8 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.004173, allocations: 4 kB / 328.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.375e-05/0.004257, allocations: 61.27 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004259, allocations: 0 / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.00426, allocations: 0 / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004262, allocations: 0 / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.004518, allocations: 235.5 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00452, allocations: 0 / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.004557, allocations: 15.98 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004559, allocations: 0 / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.004563, allocations: 0 / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004564, allocations: 0 / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.004567, allocations: 7.938 kB / 328.5 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.516e-05/0.004642, allocations: 152.3 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.004646, allocations: 4.031 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.004655, allocations: 4 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.004696, allocations: 3.984 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.004708, allocations: 7.938 kB / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.004711, allocations: 0 / 328.7 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.456e-06/0.004719, allocations: 12.84 kB / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004719, allocations: 0 / 328.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.004842, allocations: 11.94 kB / 328.7 MB, free: 4.133 MB / 298.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.307e-05/0.004935, allocations: 76.42 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.005009, allocations: 36.88 kB / 328.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.005011, allocations: 0 / 328.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.005028, allocations: 16.86 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.005133, allocations: 11.98 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.005328, allocations: 130.3 kB / 329 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.206e-05/0.00536, allocations: 55.34 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.005388, allocations: 13.31 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.00543, allocations: 51.38 kB / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00543, allocations: 0 / 329.1 MB, free: 3.684 MB / 298.7 MB Notification: Performance of Templates: time 0.001999/0.00743, allocations: 0.7784 MB / 329.9 MB, free: 2.918 MB / 298.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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.717055427841842]