Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 109 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.8 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1941/0.1941, allocations: 44.18 MB / 336.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 65.19 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09553, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001581/0.09715, allocations: 0.5371 MB / 469.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.09746, allocations: 114.1 kB / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.09748, allocations: 0 / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.09751, allocations: 0 / 469.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.09767, allocations: 15.88 kB / 469.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.634e-05/0.0977, allocations: 4 kB / 469.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.399e-05/0.09774, allocations: 7.984 kB / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.476e-05/0.09778, allocations: 0 / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.0978, allocations: 4 kB / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.397e-05/0.09784, allocations: 3.938 kB / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.09785, allocations: 0 / 469.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.09794, allocations: 27.97 kB / 469.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.09796, allocations: 7.922 kB / 469.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.09798, allocations: 4 kB / 469.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.09807, allocations: 15.92 kB / 469.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.09808, allocations: 0 / 469.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.09809, allocations: 0 / 469.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.09809, allocations: 0 / 469.3 MB, free: 14.1 MB / 350.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.0002925/0.09839, allocations: 319.6 kB / 469.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.09843, allocations: 12.03 kB / 469.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.09846, allocations: 0.9375 kB / 469.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.09858, allocations: 168.4 kB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.09859, allocations: 384 / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.09861, allocations: 4.375 kB / 469.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.829e-05/0.0987, allocations: 38.25 kB / 469.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.09871, allocations: 192 / 469.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.09873, allocations: 3.938 kB / 469.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09873, allocations: 0 / 469.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.09877, allocations: 11.92 kB / 469.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.09891, allocations: 154 kB / 470 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.09909, allocations: 38.61 kB / 470 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.09912, allocations: 12.86 kB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.09947, allocations: 113.1 kB / 470.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.0995, allocations: 38.56 kB / 470.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.09951, allocations: 0 / 470.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001264/0.1008, allocations: 185.2 kB / 470.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1008, allocations: 51.41 kB / 470.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.1009, allocations: 101.9 kB / 470.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1009, allocations: 25.7 kB / 470.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.1009, allocations: 88.06 kB / 470.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.101, allocations: 11.8 kB / 470.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.101, allocations: 21.72 kB / 470.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1011, allocations: 322.8 kB / 470.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.1012, allocations: 11.98 kB / 471 MB, free: 12.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.239e-05/0.1013, allocations: 24.11 kB / 471 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1014, allocations: 44.83 kB / 471 MB, free: 12.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1014, allocations: 7.875 kB / 471 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001913/0.1016, allocations: 77.56 kB / 471.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1017, allocations: 11.94 kB / 471.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1017, allocations: 0 / 471.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1017, allocations: 0 / 471.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1018, allocations: 23.92 kB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1018, allocations: 4 kB / 471.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.1019, allocations: 7.984 kB / 471.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1019, allocations: 0 / 471.2 MB, free: 11.96 MB / 350.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 6.31e-05/0.102, allocations: 106.4 kB / 471.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.102, allocations: 7.938 kB / 471.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.1023, allocations: 89.45 kB / 471.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1023, allocations: 0 / 471.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1023, allocations: 4.062 kB / 471.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1023, allocations: 0 / 471.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.103, allocations: 359.3 kB / 471.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.103, allocations: 336 / 471.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1031, allocations: 19.92 kB / 471.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1031, allocations: 0 / 471.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.1032, allocations: 0 / 471.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1032, allocations: 7.984 kB / 471.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1032, allocations: 3.984 kB / 471.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1034, allocations: 184.3 kB / 471.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1035, allocations: 81.02 kB / 472 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1035, allocations: 4 kB / 472 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1036, allocations: 4 kB / 472 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.1036, allocations: 3.984 kB / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1036, allocations: 8 kB / 472 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.013e-05/0.1037, allocations: 79.22 kB / 472.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1037, allocations: 4.094 kB / 472.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1039, allocations: 8 kB / 472.1 MB, free: 10.89 MB / 350.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.0001156/0.104, allocations: 99.19 kB / 472.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1042, allocations: 51.89 kB / 472.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1042, allocations: 0 / 472.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.1043, allocations: 35.84 kB / 472.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.1046, allocations: 11.81 kB / 472.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.1049, allocations: 131.8 kB / 472.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1052, allocations: 0.677 MB / 473.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.1053, allocations: 15.98 kB / 473.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1054, allocations: 7.438 kB / 473.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1054, allocations: 0 / 473.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Templates: time 0.002391/0.1078, allocations: 0.6371 MB / 473.8 MB, free: 9.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches