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.001319/0.001319, allocations: 84.47 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001455/0.001455, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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.434/1.434, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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.2126/0.2126, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 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.533e-06/1.533e-06, allocations: 0 / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.384e-05, allocations: 2.281 kB / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001623/0.001647, allocations: 0.5011 MB / 443.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.001951, allocations: 99.66 kB / 443.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.001979, allocations: 0 / 443.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.00199, allocations: 0 / 443.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.002214, allocations: 19.92 kB / 443.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.635e-05/0.00223, allocations: 0 / 443.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.472e-05/0.002275, allocations: 11.92 kB / 443.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.002311, allocations: 0 / 443.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.002337, allocations: 4 kB / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.002375, allocations: 0 / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.002386, allocations: 0 / 443.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.002472, allocations: 23.97 kB / 443.3 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.002485, allocations: 3.984 kB / 443.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.002502, allocations: 0 / 443.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.00259, allocations: 23.92 kB / 443.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002591, allocations: 4 kB / 443.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002592, allocations: 0 / 443.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.002595, allocations: 0 / 443.4 MB, free: 4.742 MB / 366.1 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.0003209/0.002916, allocations: 246.3 kB / 443.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.002952, allocations: 8.031 kB / 443.6 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.002984, allocations: 4.938 kB / 443.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.003101, allocations: 113.7 kB / 443.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.003112, allocations: 384 / 443.7 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.003134, allocations: 8.359 kB / 443.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/0.003222, allocations: 38.19 kB / 443.8 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.003233, allocations: 4.188 kB / 443.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.00324, allocations: 384 / 443.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.003243, allocations: 384 / 443.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.003287, allocations: 15.92 kB / 443.8 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.003425, allocations: 97.33 kB / 443.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.003611, allocations: 38.55 kB / 443.9 MB, free: 4.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.003636, allocations: 8.859 kB / 443.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.003973, allocations: 48.03 kB / 444 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.003998, allocations: 30.56 kB / 444 MB, free: 3.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.003999, allocations: 0 / 444 MB, free: 3.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001309/0.005308, allocations: 181.4 kB / 444.2 MB, free: 3.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.005363, allocations: 55.34 kB / 444.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.005428, allocations: 97.86 kB / 444.3 MB, free: 3.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.005448, allocations: 25.7 kB / 444.4 MB, free: 3.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.005485, allocations: 80.14 kB / 444.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.005525, allocations: 23.81 kB / 444.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.005564, allocations: 17.72 kB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.00571, allocations: 314.8 kB / 444.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.913e-05/0.005809, allocations: 15.98 kB / 444.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.005888, allocations: 23.91 kB / 444.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.006057, allocations: 52.89 kB / 444.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006058, allocations: 0 / 444.9 MB, free: 3.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002236/0.006282, allocations: 77.92 kB / 444.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.006294, allocations: 4 kB / 444.9 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.0063, allocations: 4 kB / 445 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.006312, allocations: 0 / 445 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.006439, allocations: 19.97 kB / 445 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.006446, allocations: 3.938 kB / 445 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.006535, allocations: 8 kB / 445 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.006542, allocations: 0 / 445 MB, free: 2.934 MB / 366.1 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 8.289e-05/0.006625, allocations: 114.5 kB / 445.1 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.006638, allocations: 3.984 kB / 445.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.00692, allocations: 89.25 kB / 445.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006922, allocations: 0 / 445.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.006927, allocations: 7.938 kB / 445.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.006932, allocations: 3.984 kB / 445.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.007654, allocations: 295 kB / 445.5 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007656, allocations: 4 kB / 445.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.007755, allocations: 11.98 kB / 445.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007757, allocations: 0 / 445.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.007767, allocations: 7.938 kB / 445.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007769, allocations: 7.969 kB / 445.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00777, allocations: 0 / 445.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.008044, allocations: 180.6 kB / 445.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.008049, allocations: 0 / 445.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.008069, allocations: 11.92 kB / 445.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.008178, allocations: 7.984 kB / 445.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.008192, allocations: 3.984 kB / 445.7 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.0082, allocations: 4.125 kB / 445.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.639e-05/0.008246, allocations: 79.28 kB / 445.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.008246, allocations: 0 / 445.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.008489, allocations: 12 kB / 445.8 MB, free: 2.031 MB / 366.1 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.0001282/0.008618, allocations: 95.25 kB / 445.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.008846, allocations: 59.83 kB / 446 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.008848, allocations: 0 / 446 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.008939, allocations: 19.98 kB / 446 MB, free: 1.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.009154, allocations: 12.09 kB / 446 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.009576, allocations: 137.6 kB / 446.1 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.009636, allocations: 55.36 kB / 446.2 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.009677, allocations: 8 kB / 446.2 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.009718, allocations: 16.48 kB / 446.2 MB, free: 1.574 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.009718, allocations: 0 / 446.2 MB, free: 1.574 MB / 366.1 MB Notification: Performance of Templates: time 0.003124/0.01284, allocations: 0.7007 MB / 446.9 MB, free: 0.875 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.7539772391319275]