Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007438/0.0007438, allocations: 95.52 kB / 299.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2878/0.2878, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002807, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2826, allocations: 63.1 MB / 0.5214 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005113/0.2832, allocations: 266.1 kB / 0.5216 GB, free: 38.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007032/0.2839, allocations: 0.6332 MB / 0.5222 GB, free: 37.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.2839, allocations: 0 / 0.5222 GB, free: 37.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.284, allocations: 0 / 0.5222 GB, free: 37.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.126e-05/0.284, allocations: 0 / 0.5222 GB, free: 37.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2844, allocations: 107.2 kB / 0.5223 GB, free: 37.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.2844, allocations: 23.03 kB / 0.5224 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.2845, allocations: 2.938 kB / 0.5224 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.2845, allocations: 21.05 kB / 0.5224 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.2846, allocations: 24.11 kB / 0.5224 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2846, allocations: 0 / 0.5224 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.2848, allocations: 148.8 kB / 0.5226 GB, free: 37.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2848, allocations: 18.06 kB / 0.5226 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.2849, allocations: 39.33 kB / 0.5226 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.285, allocations: 128 kB / 0.5227 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.285, allocations: 0 / 0.5227 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2851, allocations: 3.031 kB / 0.5227 GB, free: 37.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2851, allocations: 0 / 0.5227 GB, free: 37.35 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002747/0.2853, allocations: 357.1 kB / 0.5231 GB, free: 36.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2854, allocations: 11.88 kB / 0.5231 GB, free: 36.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.2854, allocations: 4.844 kB / 0.5231 GB, free: 36.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.2855, allocations: 167 kB / 0.5232 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2855, allocations: 10.84 kB / 0.5233 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.2855, allocations: 7.188 kB / 0.5233 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.2857, allocations: 63.11 kB / 0.5233 GB, free: 36.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2857, allocations: 7.875 kB / 0.5233 GB, free: 36.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2857, allocations: 0 / 0.5233 GB, free: 36.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2857, allocations: 7.844 kB / 0.5233 GB, free: 36.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.2858, allocations: 46.05 kB / 0.5234 GB, free: 36.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.2859, allocations: 168.8 kB / 0.5235 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.286, allocations: 87.77 kB / 0.5236 GB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.2861, allocations: 28.28 kB / 0.5237 GB, free: 36.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.2863, allocations: 120.2 kB / 0.5238 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2864, allocations: 37.92 kB / 0.5238 GB, free: 36.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.2864, allocations: 0 / 0.5238 GB, free: 36.29 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1059/0.3923, allocations: 5.847 MB / 0.5295 GB, free: 35.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3923, allocations: 54.22 kB / 0.5296 GB, free: 35.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.3924, allocations: 90.8 kB / 0.5297 GB, free: 35.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3924, allocations: 32.55 kB / 0.5297 GB, free: 35.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.433e-05/0.3924, allocations: 80.52 kB / 0.5298 GB, free: 35.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.3925, allocations: 74.28 kB / 0.5298 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.3925, allocations: 0 / 0.5298 GB, free: 35.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.3926, allocations: 328.2 kB / 0.5301 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.3929, allocations: 134.6 kB / 0.5303 GB, free: 34.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3932, allocations: 138.9 kB / 0.5304 GB, free: 34.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.3945, allocations: 368.2 kB / 0.5308 GB, free: 34.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3945, allocations: 0 / 0.5308 GB, free: 34.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001104/0.3956, allocations: 404.4 kB / 0.5311 GB, free: 34.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3956, allocations: 5.25 kB / 0.5311 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3957, allocations: 3.984 kB / 0.5312 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.3957, allocations: 3.562 kB / 0.5312 GB, free: 34.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.3961, allocations: 99.31 kB / 0.5312 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3961, allocations: 0 / 0.5312 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3963, allocations: 36.91 kB / 0.5313 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.3963, allocations: 26.78 kB / 0.5313 GB, free: 34.71 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 (23): * Single equations (assignments): 23 * 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 9.479e-05/0.3964, allocations: 117.6 kB / 0.5314 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3965, allocations: 9.156 kB / 0.5314 GB, free: 34.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.3978, allocations: 474.5 kB / 0.5319 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3979, allocations: 2.625 kB / 0.5319 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3979, allocations: 0 / 0.5319 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3979, allocations: 1.453 kB / 0.5319 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.3999, allocations: 0.877 MB / 0.5327 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.4, allocations: 4 kB / 0.5327 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.4002, allocations: 89.27 kB / 0.5328 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4003, allocations: 2.062 kB / 0.5328 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4003, allocations: 15.45 kB / 0.5328 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4003, allocations: 2.719 kB / 0.5329 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4003, allocations: 0 / 0.5329 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.4013, allocations: 473.8 kB / 0.5333 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.4013, allocations: 84.48 kB / 0.5334 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4014, allocations: 7.547 kB / 0.5334 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.4016, allocations: 40.61 kB / 0.5334 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.4016, allocations: 13.98 kB / 0.5334 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.4016, allocations: 12.16 kB / 0.5335 GB, free: 33.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.549e-05/0.4017, allocations: 84.02 kB / 0.5335 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4017, allocations: 0 / 0.5335 GB, free: 33.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001695/0.4034, allocations: 0.6302 MB / 0.5342 GB, free: 33.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.00269/0.4061, allocations: 318.7 kB / 0.5345 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007962/0.4069, allocations: 307.7 kB / 0.5347 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4069, allocations: 0 / 0.5347 GB, free: 33.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.4073, allocations: 157.2 kB / 0.5349 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.4075, allocations: 9.328 kB / 0.5349 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/0.4085, allocations: 410.3 kB / 0.5353 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.4086, allocations: 0.6993 MB / 0.536 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.4089, allocations: 72.41 kB / 0.536 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.4091, allocations: 49.41 kB / 0.5361 GB, free: 32.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4091, allocations: 0 / 0.5361 GB, free: 32.4 MB / 378.7 MB Notification: Performance of Templates: time 0.0588/0.4679, allocations: 53.84 MB / 0.5887 GB, free: 1.629 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches