Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 72.14 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.0966, allocations: 62.45 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001631/0.09827, allocations: 0.5553 MB / 480 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002904/0.09857, allocations: 107.6 kB / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.09861, allocations: 0 / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.09864, allocations: 0 / 480.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.09886, allocations: 11.94 kB / 480.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.677e-05/0.09888, allocations: 0 / 480.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.774e-05/0.09894, allocations: 11.98 kB / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.09899, allocations: 0 / 480.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.09902, allocations: 4 kB / 480.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.09906, allocations: 7.938 kB / 480.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.09908, allocations: 0 / 480.2 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.559e-05/0.09918, allocations: 23.97 kB / 480.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.09919, allocations: 3.984 kB / 480.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.09922, allocations: 0 / 480.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.09931, allocations: 19.92 kB / 480.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.09932, allocations: 0 / 480.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.09932, allocations: 3.938 kB / 480.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09933, allocations: 0 / 480.2 MB, free: 4.883 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.0003204/0.09966, allocations: 319.6 kB / 480.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.09971, allocations: 16.03 kB / 480.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.09975, allocations: 0.9375 kB / 480.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.09988, allocations: 160.4 kB / 480.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.0999, allocations: 4.359 kB / 480.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.09993, allocations: 4.375 kB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.876e-05/0.1, allocations: 38.25 kB / 480.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1, allocations: 192 / 480.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1001, allocations: 3.938 kB / 480.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1001, allocations: 0 / 480.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.1001, allocations: 7.984 kB / 480.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.1003, allocations: 157.9 kB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1005, allocations: 34.61 kB / 481 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.1005, allocations: 12.86 kB / 481 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.1009, allocations: 117.1 kB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1009, allocations: 30.56 kB / 481.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1009, allocations: 0 / 481.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001255/0.1022, allocations: 193.2 kB / 481.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.1022, allocations: 55.41 kB / 481.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.1023, allocations: 97.84 kB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1023, allocations: 29.7 kB / 481.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.398e-05/0.1023, allocations: 80.14 kB / 481.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.1024, allocations: 11.8 kB / 481.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1024, allocations: 21.72 kB / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1025, allocations: 318.8 kB / 481.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.1026, allocations: 24.05 kB / 481.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.1027, allocations: 23.92 kB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1028, allocations: 44.83 kB / 482 MB, free: 2.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1028, allocations: 0 / 482 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001944/0.103, allocations: 77.56 kB / 482.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.103, allocations: 11.94 kB / 482.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1031, allocations: 4 kB / 482.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1031, allocations: 0 / 482.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1032, allocations: 15.98 kB / 482.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1032, allocations: 0 / 482.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.1033, allocations: 12.23 kB / 482.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1033, allocations: 3.938 kB / 482.1 MB, free: 2.746 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.4e-05/0.1034, allocations: 105.8 kB / 482.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.1034, allocations: 7.938 kB / 482.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1037, allocations: 93.2 kB / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1037, allocations: 0 / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1037, allocations: 0 / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1037, allocations: 0 / 482.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.1044, allocations: 359.3 kB / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1044, allocations: 0 / 482.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.1045, allocations: 15.98 kB / 482.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1045, allocations: 336 / 482.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1045, allocations: 3.984 kB / 482.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1045, allocations: 7.938 kB / 482.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1045, allocations: 0 / 482.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1048, allocations: 184.3 kB / 482.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.1048, allocations: 81.02 kB / 483 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1048, allocations: 4 kB / 483 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1049, allocations: 7.984 kB / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.105, allocations: 0 / 483 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.105, allocations: 4 kB / 483 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.105, allocations: 79.28 kB / 483.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.105, allocations: 0 / 483.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1052, allocations: 12 kB / 483.1 MB, free: 1.691 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.0001233/0.1054, allocations: 115.5 kB / 483.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1056, allocations: 51.91 kB / 483.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1056, allocations: 0 / 483.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.1057, allocations: 36 kB / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1059, allocations: 0 / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.1063, allocations: 137.8 kB / 483.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1065, allocations: 0.6768 MB / 484.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.1066, allocations: 8.312 kB / 484.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.1066, allocations: 7.438 kB / 484.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1066, allocations: 0 / 484.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Templates: time 0.002467/0.1091, allocations: 0.663 MB / 484.8 MB, free: 15.94 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches