Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009915/0.0009915, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001162/0.001162, allocations: 164.3 kB / 24.84 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8297/0.8297, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1265/0.1265, allocations: 32.38 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.133e-05, allocations: 2.312 kB / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001025/0.001047, allocations: 0.5608 MB / 349.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.001221, allocations: 55.78 kB / 349.6 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.001252, allocations: 8 kB / 349.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.001267, allocations: 0 / 349.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.001446, allocations: 15.92 kB / 349.6 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.156e-05/0.001457, allocations: 7.922 kB / 349.6 MB, free: 8.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.839e-05/0.001496, allocations: 7.938 kB / 349.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.001533, allocations: 0 / 349.6 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.001556, allocations: 4 kB / 349.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.001595, allocations: 3.984 kB / 349.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.001607, allocations: 0 / 349.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.001671, allocations: 23.97 kB / 349.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.001682, allocations: 4 kB / 349.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.001696, allocations: 7.938 kB / 349.6 MB, free: 8.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.216e-05/0.001758, allocations: 19.97 kB / 349.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.00176, allocations: 0 / 349.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.00176, allocations: 0 / 349.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.001764, allocations: 0 / 349.7 MB, free: 8.43 MB / 282.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.0001651/0.001929, allocations: 344.4 kB / 350 MB, free: 8.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.001958, allocations: 8.031 kB / 350 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.001981, allocations: 12.86 kB / 350 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.087e-05/0.002032, allocations: 104.6 kB / 350.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.002041, allocations: 4.375 kB / 350.1 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.002054, allocations: 4.719 kB / 350.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.536e-05/0.002099, allocations: 30.27 kB / 350.1 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.002108, allocations: 4.188 kB / 350.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-06/0.002113, allocations: 384 / 350.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.002117, allocations: 4.359 kB / 350.2 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.002131, allocations: 7.938 kB / 350.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.257e-05/0.002204, allocations: 93.22 kB / 350.3 MB, free: 7.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.002317, allocations: 51.03 kB / 350.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.21e-05/0.002329, allocations: 11.67 kB / 350.3 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.002482, allocations: 36.05 kB / 350.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.002496, allocations: 33.39 kB / 350.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.002496, allocations: 0 / 350.4 MB, free: 7.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005103/0.003007, allocations: 150.1 kB / 350.5 MB, free: 7.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.003025, allocations: 59.41 kB / 350.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.976e-05/0.003055, allocations: 157.9 kB / 350.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.003061, allocations: 29.7 kB / 350.8 MB, free: 7.141 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.177e-06/0.00307, allocations: 126.9 kB / 350.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.003091, allocations: 15.86 kB / 350.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.003116, allocations: 31.3 kB / 350.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.003147, allocations: 496.1 kB / 351.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.003161, allocations: 4 kB / 351.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.003174, allocations: 19.98 kB / 351.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.003203, allocations: 19.69 kB / 351.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.003203, allocations: 4.125 kB / 351.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.443e-05/0.003258, allocations: 53.69 kB / 351.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.003267, allocations: 4 kB / 351.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.003271, allocations: 0 / 351.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.003279, allocations: 0 / 351.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.003341, allocations: 15.98 kB / 351.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.003344, allocations: 0 / 351.5 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.003373, allocations: 7.938 kB / 351.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.003377, allocations: 3.938 kB / 351.6 MB, free: 6.32 MB / 282.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 3.365e-05/0.003411, allocations: 160.6 kB / 351.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.003418, allocations: 8 kB / 351.7 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.003494, allocations: 57.33 kB / 351.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.003495, allocations: 0 / 351.8 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.003497, allocations: 4 kB / 351.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.0035, allocations: 3.938 kB / 351.8 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.003733, allocations: 313.6 kB / 352.1 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.003735, allocations: 4.031 kB / 352.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.00377, allocations: 16.23 kB / 352.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.003772, allocations: 0 / 352.1 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.003777, allocations: 8 kB / 352.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.003778, allocations: 0 / 352.1 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.00378, allocations: 11.88 kB / 352.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.241e-05/0.003843, allocations: 203.6 kB / 352.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.003847, allocations: 0 / 352.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.003854, allocations: 0 / 352.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.003894, allocations: 7.984 kB / 352.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.003905, allocations: 11.94 kB / 352.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.003908, allocations: 4 kB / 352.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.085e-05/0.003919, allocations: 119.2 kB / 352.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003919, allocations: 0 / 352.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.004065, allocations: 15.88 kB / 352.5 MB, free: 5.312 MB / 282.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 8.149e-05/0.004146, allocations: 103.2 kB / 352.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.004213, allocations: 35.66 kB / 352.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.004214, allocations: 0 / 352.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.004231, allocations: 31.7 kB / 352.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.004376, allocations: 4 kB / 352.7 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000172/0.004548, allocations: 130 kB / 352.8 MB, free: 4.965 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.004e-05/0.004568, allocations: 55.36 kB / 352.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.51e-05/0.004593, allocations: 11.97 kB / 352.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.004627, allocations: 74.19 kB / 352.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of SimCode: time 4.7e-07/0.004628, allocations: 0 / 352.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of Templates: time 0.001847/0.006475, allocations: 0.7857 MB / 353.7 MB, free: 4.023 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.691881479229778]