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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009952/0.0009952, allocations: 101.7 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3216/0.3216, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3165, allocations: 62.02 MB / 0.5151 GB, free: 37.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00148/0.318, allocations: 0.5602 MB / 0.5157 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003175/0.3184, allocations: 108.2 kB / 0.5158 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.3184, allocations: 4 kB / 0.5158 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3184, allocations: 2.844 kB / 0.5158 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.3186, allocations: 14.33 kB / 0.5158 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.554e-05/0.3187, allocations: 4 kB / 0.5158 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.839e-05/0.3187, allocations: 2.812 kB / 0.5158 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.3187, allocations: 2.75 kB / 0.5158 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.43e-05/0.3188, allocations: 0 / 0.5158 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.3188, allocations: 13.92 kB / 0.5158 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3188, allocations: 0 / 0.5158 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.3189, allocations: 20.72 kB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.3189, allocations: 4 kB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.3189, allocations: 6.938 kB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.059e-05/0.319, allocations: 12.73 kB / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.319, allocations: 0 / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.319, allocations: 0 / 0.5159 GB, free: 37.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.319, allocations: 0 / 0.5159 GB, free: 37.21 MB / 378.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.000237/0.3193, allocations: 320.5 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3193, allocations: 8.812 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.3194, allocations: 3.562 kB / 0.5162 GB, free: 36.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.864e-05/0.3194, allocations: 167.8 kB / 0.5164 GB, free: 36.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.3194, allocations: 4.375 kB / 0.5164 GB, free: 36.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3195, allocations: 3.406 kB / 0.5164 GB, free: 36.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/0.3195, allocations: 36.38 kB / 0.5164 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3196, allocations: 192 / 0.5164 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.3196, allocations: 3.938 kB / 0.5164 GB, free: 36.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3196, allocations: 2.875 kB / 0.5164 GB, free: 36.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.3196, allocations: 3.031 kB / 0.5164 GB, free: 36.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.3197, allocations: 158 kB / 0.5166 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3199, allocations: 48.92 kB / 0.5166 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.3199, allocations: 10.52 kB / 0.5166 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.3203, allocations: 111.2 kB / 0.5167 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.3203, allocations: 37.89 kB / 0.5168 GB, free: 36.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3203, allocations: 4 kB / 0.5168 GB, free: 36.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001114/0.3214, allocations: 181.5 kB / 0.5169 GB, free: 36.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.3214, allocations: 51.41 kB / 0.517 GB, free: 36.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.3215, allocations: 100.5 kB / 0.5171 GB, free: 36.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.3215, allocations: 25.7 kB / 0.5171 GB, free: 35.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-06/0.3215, allocations: 80.14 kB / 0.5172 GB, free: 35.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.3215, allocations: 21.81 kB / 0.5172 GB, free: 35.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.3216, allocations: 12.25 kB / 0.5172 GB, free: 35.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.3216, allocations: 324.8 kB / 0.5175 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.3217, allocations: 13.55 kB / 0.5175 GB, free: 35.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.667e-05/0.3218, allocations: 17.83 kB / 0.5176 GB, free: 35.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3219, allocations: 60.14 kB / 0.5176 GB, free: 35.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3219, allocations: 0 / 0.5176 GB, free: 35.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001657/0.3221, allocations: 75.95 kB / 0.5177 GB, free: 35.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3221, allocations: 9.75 kB / 0.5177 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3221, allocations: 0 / 0.5177 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3221, allocations: 0 / 0.5177 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3223, allocations: 14.72 kB / 0.5177 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3223, allocations: 7.281 kB / 0.5177 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.3224, allocations: 3.219 kB / 0.5177 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3224, allocations: 2.938 kB / 0.5177 GB, free: 35.46 MB / 378.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 4.515e-05/0.3224, allocations: 114 kB / 0.5178 GB, free: 35.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.3224, allocations: 14.78 kB / 0.5178 GB, free: 35.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.3227, allocations: 87.62 kB / 0.5179 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3227, allocations: 0 / 0.5179 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3227, allocations: 0 / 0.5179 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3227, allocations: 3.422 kB / 0.5179 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.3233, allocations: 354.3 kB / 0.5183 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3233, allocations: 7.125 kB / 0.5183 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.441e-05/0.3234, allocations: 13.66 kB / 0.5183 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3234, allocations: 0 / 0.5183 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3234, allocations: 3.312 kB / 0.5183 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3234, allocations: 0 / 0.5183 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3234, allocations: 0 / 0.5183 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.3238, allocations: 0.7463 MB / 0.519 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.3238, allocations: 77.11 kB / 0.5191 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3238, allocations: 0 / 0.5191 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.3239, allocations: 9.672 kB / 0.5191 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.3239, allocations: 3.938 kB / 0.5191 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.324, allocations: 6.297 kB / 0.5191 GB, free: 34.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.676e-05/0.324, allocations: 79.28 kB / 0.5192 GB, free: 34.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.324, allocations: 0 / 0.5192 GB, free: 34.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.3243, allocations: 12.69 kB / 0.5192 GB, free: 34.03 MB / 378.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.0001242/0.3245, allocations: 93.41 kB / 0.5193 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.3246, allocations: 48.03 kB / 0.5193 GB, free: 33.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3247, allocations: 3.938 kB / 0.5193 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.3247, allocations: 29.12 kB / 0.5194 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.3249, allocations: 7.094 kB / 0.5194 GB, free: 33.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3253, allocations: 246.3 kB / 0.5196 GB, free: 33.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.958e-05/0.3254, allocations: 0.6823 MB / 0.5203 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.3255, allocations: 11.22 kB / 0.5203 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.3255, allocations: 10.47 kB / 0.5203 GB, free: 32.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3255, allocations: 0 / 0.5203 GB, free: 32.97 MB / 378.7 MB Notification: Performance of Templates: time 0.002199/0.3277, allocations: 0.6529 MB / 0.5209 GB, free: 32.9 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches