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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 98.11 kB / 292.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3126/0.3126, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003003/0.0003004, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3096, allocations: 61.89 MB / 0.5095 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.4158, allocations: 85.05 MB / 0.5926 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4161, allocations: 67.95 kB / 0.5927 GB, free: 10.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001585/0.4177, allocations: 0.624 MB / 0.5933 GB, free: 9.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4177, allocations: 0 / 0.5933 GB, free: 9.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4177, allocations: 0 / 0.5933 GB, free: 9.457 MB / 410.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.000243/0.4179, allocations: 323.3 kB / 0.5936 GB, free: 9.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.418, allocations: 8.562 kB / 0.5936 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.418, allocations: 3.984 kB / 0.5936 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.4181, allocations: 167 kB / 0.5938 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4181, allocations: 0 / 0.5938 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.4182, allocations: 4 kB / 0.5938 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.485e-05/0.4183, allocations: 41.58 kB / 0.5938 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4183, allocations: 3.938 kB / 0.5938 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.4183, allocations: 0 / 0.5938 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4183, allocations: 0 / 0.5938 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.4183, allocations: 16 kB / 0.5938 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.4185, allocations: 145.7 kB / 0.594 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.4186, allocations: 38.61 kB / 0.594 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.4189, allocations: 121.2 kB / 0.5941 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.419, allocations: 30.56 kB / 0.5941 GB, free: 8.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.285e-06/0.419, allocations: 0 / 0.5941 GB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001234/0.4202, allocations: 213.3 kB / 0.5943 GB, free: 8.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.4203, allocations: 59.34 kB / 0.5944 GB, free: 8.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.4203, allocations: 92.94 kB / 0.5945 GB, free: 8.012 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.4203, allocations: 25.7 kB / 0.5945 GB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.4204, allocations: 80.14 kB / 0.5946 GB, free: 7.898 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.4204, allocations: 15.75 kB / 0.5946 GB, free: 7.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.4204, allocations: 0 / 0.5946 GB, free: 7.883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.4205, allocations: 318.8 kB / 0.5949 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.4206, allocations: 28.11 kB / 0.5949 GB, free: 7.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.4207, allocations: 19.98 kB / 0.595 GB, free: 7.516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.4208, allocations: 19.98 kB / 0.595 GB, free: 7.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4208, allocations: 0 / 0.595 GB, free: 7.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002094/0.421, allocations: 89.66 kB / 0.5951 GB, free: 7.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.421, allocations: 9.406 kB / 0.5951 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.421, allocations: 3.953 kB / 0.5951 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.421, allocations: 0 / 0.5951 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4212, allocations: 19.92 kB / 0.5951 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.4212, allocations: 0 / 0.5951 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.4213, allocations: 11.98 kB / 0.5951 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4213, allocations: 4.25 kB / 0.5951 GB, free: 7.355 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.4214, allocations: 105.8 kB / 0.5952 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.4214, allocations: 4 kB / 0.5952 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.4216, allocations: 105.2 kB / 0.5953 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4216, allocations: 3.953 kB / 0.5953 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4217, allocations: 0 / 0.5953 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4217, allocations: 0 / 0.5953 GB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.4223, allocations: 367.2 kB / 0.5957 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4223, allocations: 0 / 0.5957 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4224, allocations: 20.27 kB / 0.5957 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4224, allocations: 7.938 kB / 0.5957 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4224, allocations: 0 / 0.5957 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4224, allocations: 4.031 kB / 0.5957 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4224, allocations: 0 / 0.5957 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.4227, allocations: 206 kB / 0.5959 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.4227, allocations: 77.11 kB / 0.596 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.4227, allocations: 0 / 0.596 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4229, allocations: 15.98 kB / 0.596 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.4229, allocations: 0 / 0.596 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.4229, allocations: 4 kB / 0.596 GB, free: 6.336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.4229, allocations: 75.28 kB / 0.5961 GB, free: 6.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4229, allocations: 0 / 0.5961 GB, free: 6.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.4231, allocations: 12.09 kB / 0.5961 GB, free: 6.25 MB / 410.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001235/0.4233, allocations: 107.2 kB / 0.5962 GB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.4235, allocations: 55.91 kB / 0.5962 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4235, allocations: 0 / 0.5962 GB, free: 6.082 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.4236, allocations: 39.91 kB / 0.5963 GB, free: 6.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.4237, allocations: 3.953 kB / 0.5963 GB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.4241, allocations: 143.6 kB / 0.5964 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.4244, allocations: 0.677 MB / 0.5971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.4244, allocations: 15.92 kB / 0.5971 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.4245, allocations: 11.44 kB / 0.5971 GB, free: 5.137 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4245, allocations: 0 / 0.5971 GB, free: 5.137 MB / 410.7 MB Notification: Performance of Templates: time 0.002265/0.4267, allocations: 0.5884 MB / 0.5977 GB, free: 4.551 MB / 410.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches