Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001455/0.001455, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001647/0.001647, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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 0.9637/0.9637, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2497/0.2497, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 378 MB, free: 3.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.416e-05, allocations: 2.312 kB / 378 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0009453/0.0009595, allocations: 0.5161 MB / 378.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.001193, allocations: 95.72 kB / 378.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.00122, allocations: 0 / 378.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.001234, allocations: 0 / 378.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.001427, allocations: 19.92 kB / 378.6 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.258e-05/0.00144, allocations: 3.984 kB / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.00149, allocations: 7.938 kB / 378.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.186e-05/0.001522, allocations: 0 / 378.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.001544, allocations: 0 / 378.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.001583, allocations: 8 kB / 378.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.001595, allocations: 0 / 378.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.001666, allocations: 27.95 kB / 378.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.001677, allocations: 0 / 378.7 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.001693, allocations: 7.938 kB / 378.7 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.642e-05/0.001769, allocations: 23.91 kB / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.001771, allocations: 0 / 378.7 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.001772, allocations: 3.938 kB / 378.7 MB, free: 2.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.001775, allocations: 0 / 378.7 MB, free: 2.309 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.0002317/0.002007, allocations: 340.4 kB / 379 MB, free: 1.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.002038, allocations: 8.031 kB / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.002071, allocations: 9.266 kB / 379.1 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.002147, allocations: 116.6 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.002156, allocations: 384 / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.002173, allocations: 384 / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.625e-05/0.002239, allocations: 30.27 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.002248, allocations: 192 / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.002256, allocations: 4.359 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.002264, allocations: 4.375 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.002288, allocations: 11.94 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.002388, allocations: 108.6 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.002542, allocations: 51.09 kB / 379.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.002563, allocations: 11.69 kB / 379.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.002744, allocations: 28.05 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.002762, allocations: 33.39 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.002763, allocations: 0 / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006228/0.003386, allocations: 162.1 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.003414, allocations: 55.34 kB / 379.7 MB, free: 1.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.719e-05/0.003471, allocations: 157.9 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.003481, allocations: 25.7 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.003505, allocations: 130.8 kB / 380 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.003528, allocations: 15.86 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.003558, allocations: 27.36 kB / 380 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003142/0.003872, allocations: 496.1 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.003896, allocations: 8 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.865e-05/0.003914, allocations: 16.11 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.003955, allocations: 23.69 kB / 380.5 MB, free: 276 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.003955, allocations: 0 / 380.5 MB, free: 276 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.177e-05/0.004027, allocations: 61.88 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.004038, allocations: 5.875 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004042, allocations: 0 / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004052, allocations: 0 / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.004119, allocations: 19.92 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.004125, allocations: 3.938 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.004157, allocations: 4 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.004162, allocations: 7.984 kB / 380.6 MB, free: 168 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 6.688e-05/0.004229, allocations: 160.6 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.004237, allocations: 0 / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.004344, allocations: 65.56 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004346, allocations: 0 / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.00435, allocations: 3.938 kB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.004353, allocations: 3.984 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.004685, allocations: 341 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.004686, allocations: 0 / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.004726, allocations: 15.98 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004728, allocations: 3.938 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.004735, allocations: 3.938 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.004736, allocations: 0 / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.004738, allocations: 4 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.756e-05/0.004835, allocations: 207.6 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.004841, allocations: 3.984 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.004853, allocations: 15.97 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.004895, allocations: 192 / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.004911, allocations: 7.984 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.004915, allocations: 4 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.599e-05/0.004941, allocations: 127.1 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004941, allocations: 0 / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.005095, allocations: 11.94 kB / 381.6 MB, free: 15.12 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 9.745e-05/0.005193, allocations: 103.2 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.859e-05/0.005281, allocations: 35.77 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.005283, allocations: 0 / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.005306, allocations: 27.61 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.005451, allocations: 4 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.005681, allocations: 141.9 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.005711, allocations: 59.34 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.774e-05/0.005738, allocations: 8.062 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.005762, allocations: 8.5 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005763, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Templates: time 0.00199/0.007753, allocations: 0.7082 MB / 382.7 MB, free: 13.96 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.9984038048423827]