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.001929/0.001929, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.001978/0.001978, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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 1.332/1.332, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.2169/0.2169, allocations: 32.37 MB / 270 MB, free: 14.63 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.844e-06/1.844e-06, allocations: 0 / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.143e-05, allocations: 6.312 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001509/0.00154, allocations: 0.5454 MB / 347.5 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.001814, allocations: 59.78 kB / 347.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.001851, allocations: 0 / 347.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.001866, allocations: 3.938 kB / 347.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.002118, allocations: 23.92 kB / 347.6 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.861e-05/0.002137, allocations: 7.922 kB / 347.6 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.891e-05/0.002186, allocations: 4 kB / 347.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.002231, allocations: 7.969 kB / 347.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.002272, allocations: 4 kB / 347.6 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.002324, allocations: 7.938 kB / 347.6 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.00234, allocations: 0 / 347.6 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.002424, allocations: 19.98 kB / 347.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.002436, allocations: 0 / 347.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.002453, allocations: 0 / 347.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.965e-05/0.002552, allocations: 31.89 kB / 347.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.002555, allocations: 0 / 347.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002555, allocations: 0 / 347.7 MB, free: 9.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.00257, allocations: 0 / 347.7 MB, free: 9.062 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.0002853/0.002856, allocations: 348.4 kB / 348 MB, free: 8.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.002896, allocations: 8.031 kB / 348 MB, free: 8.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.002943, allocations: 0.9375 kB / 348 MB, free: 8.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.003023, allocations: 108.6 kB / 348.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.003037, allocations: 384 / 348.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.003062, allocations: 384 / 348.1 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.003161, allocations: 42.19 kB / 348.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.003175, allocations: 8.125 kB / 348.2 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.003184, allocations: 4.375 kB / 348.2 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.003189, allocations: 384 / 348.2 MB, free: 8.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.003231, allocations: 11.94 kB / 348.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.003365, allocations: 120.6 kB / 348.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.003587, allocations: 39.09 kB / 348.4 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.003616, allocations: 19.62 kB / 348.4 MB, free: 8.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002766/0.003893, allocations: 28.06 kB / 348.4 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.003911, allocations: 41.38 kB / 348.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.003912, allocations: 0 / 348.4 MB, free: 8.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.001136/0.005048, allocations: 157.4 kB / 348.6 MB, free: 8.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.005072, allocations: 59.34 kB / 348.7 MB, free: 7.938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.899e-05/0.005121, allocations: 153.9 kB / 348.8 MB, free: 7.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.005131, allocations: 25.7 kB / 348.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.767e-05/0.005148, allocations: 126.9 kB / 349 MB, free: 7.609 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.005177, allocations: 23.84 kB / 349 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.005211, allocations: 23.38 kB / 349 MB, free: 7.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.005285, allocations: 496.1 kB / 349.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/0.005346, allocations: 11.98 kB / 349.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.399e-05/0.0054, allocations: 19.98 kB / 349.5 MB, free: 7.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.005528, allocations: 43.66 kB / 349.6 MB, free: 6.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.005528, allocations: 4.125 kB / 349.6 MB, free: 6.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001517/0.00568, allocations: 77.61 kB / 349.6 MB, free: 6.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.005694, allocations: 4 kB / 349.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.005698, allocations: 0 / 349.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.005716, allocations: 0 / 349.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.005826, allocations: 15.98 kB / 349.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.005833, allocations: 3.938 kB / 349.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.005908, allocations: 4 kB / 349.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.005915, allocations: 0 / 349.7 MB, free: 6.867 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 5.193e-05/0.005967, allocations: 160.6 kB / 349.8 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.005981, allocations: 7.984 kB / 349.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.006193, allocations: 85.5 kB / 349.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006195, allocations: 64 / 349.9 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.006201, allocations: 7.938 kB / 349.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.006205, allocations: 4 kB / 349.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.00677, allocations: 353.2 kB / 350.3 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006772, allocations: 0 / 350.3 MB, free: 6.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.006855, allocations: 15.98 kB / 350.3 MB, free: 6.184 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.006858, allocations: 4.031 kB / 350.3 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.006868, allocations: 7.938 kB / 350.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.00687, allocations: 0 / 350.3 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.006872, allocations: 4 kB / 350.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.007052, allocations: 223.5 kB / 350.5 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.007058, allocations: 8.031 kB / 350.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.007073, allocations: 7.922 kB / 350.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.007162, allocations: 4 kB / 350.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.007185, allocations: 4 kB / 350.5 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.007191, allocations: 7.984 kB / 350.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.076e-05/0.007212, allocations: 119.2 kB / 350.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007212, allocations: 0 / 350.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.007462, allocations: 11.94 kB / 350.7 MB, free: 5.766 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 0.0001241/0.007586, allocations: 99.34 kB / 350.8 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.007776, allocations: 55.59 kB / 350.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.007779, allocations: 0 / 350.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.007843, allocations: 31.66 kB / 350.9 MB, free: 5.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.008057, allocations: 4 kB / 350.9 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.008423, allocations: 141.9 kB / 351 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.008464, allocations: 63.34 kB / 351.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.07e-05/0.008505, allocations: 11.97 kB / 351.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.008537, allocations: 12.5 kB / 351.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008538, allocations: 0 / 351.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of Templates: time 0.003376/0.01191, allocations: 0.7141 MB / 351.8 MB, free: 4.574 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.992801322950982]