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.001202/0.001202, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001209/0.001209, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.383/1.383, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2011/0.2011, allocations: 44.19 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.12 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1004, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001666/0.1021, allocations: 0.4911 MB / 470.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.1024, allocations: 99.64 kB / 470.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.1024, allocations: 4 kB / 470.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.1024, allocations: 0 / 470.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1027, allocations: 19.92 kB / 470.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.899e-05/0.1027, allocations: 3.984 kB / 470.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.19e-05/0.1027, allocations: 7.938 kB / 470.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.1028, allocations: 4 kB / 470.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1028, allocations: 4 kB / 470.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.1029, allocations: 7.938 kB / 470.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1029, allocations: 0 / 470.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.103, allocations: 23.97 kB / 470.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.103, allocations: 3.984 kB / 470.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.103, allocations: 3.938 kB / 470.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.923e-05/0.1031, allocations: 19.92 kB / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1031, allocations: 0 / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1031, allocations: 0 / 470.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1031, allocations: 0 / 470.6 MB, free: 13.7 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.000313/0.1034, allocations: 319.6 kB / 470.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1035, allocations: 12.03 kB / 470.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1035, allocations: 0.9375 kB / 470.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1036, allocations: 164.4 kB / 471.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.1036, allocations: 384 / 471.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1037, allocations: 8.359 kB / 471.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.1038, allocations: 34.2 kB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1038, allocations: 192 / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1038, allocations: 3.938 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1038, allocations: 4 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.1038, allocations: 11.98 kB / 471.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.104, allocations: 152.5 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1042, allocations: 34.55 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.1042, allocations: 20.84 kB / 471.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/0.1046, allocations: 117.1 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1046, allocations: 30.56 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1046, allocations: 0 / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001326/0.1059, allocations: 193.2 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.106, allocations: 51.41 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.106, allocations: 93.84 kB / 471.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1061, allocations: 29.7 kB / 471.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.1061, allocations: 84.12 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1061, allocations: 11.81 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1062, allocations: 17.72 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.1063, allocations: 323 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.1064, allocations: 15.98 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.1065, allocations: 19.98 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1066, allocations: 44.83 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1066, allocations: 3.938 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002086/0.1069, allocations: 81.5 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1069, allocations: 15.94 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1069, allocations: 0 / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1069, allocations: 0 / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1071, allocations: 11.98 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1071, allocations: 4 kB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.1072, allocations: 8.234 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1072, allocations: 4 kB / 472.5 MB, free: 11.57 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 7.644e-05/0.1073, allocations: 113.8 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.1073, allocations: 11.94 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.1076, allocations: 89.14 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1076, allocations: 0 / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1076, allocations: 0 / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1076, allocations: 0 / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.1083, allocations: 355.3 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.1083, allocations: 0 / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.1085, allocations: 19.98 kB / 473.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1085, allocations: 3.984 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1085, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1085, allocations: 0 / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1085, allocations: 4 kB / 473.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1087, allocations: 180.3 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1088, allocations: 81.02 kB / 473.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1088, allocations: 8 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1089, allocations: 7.984 kB / 473.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.109, allocations: 4 kB / 473.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.109, allocations: 4 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.109, allocations: 75.28 kB / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.109, allocations: 0 / 473.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1093, allocations: 8 kB / 473.4 MB, free: 10.51 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.000139/0.1094, allocations: 111.2 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1097, allocations: 51.84 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1097, allocations: 4.094 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.1098, allocations: 27.91 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.11, allocations: 10.5 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.1104, allocations: 151.4 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1107, allocations: 0.6768 MB / 474.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.1107, allocations: 15.44 kB / 474.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1107, allocations: 0 / 474.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Templates: time 0.002041/0.1128, allocations: 0.6799 MB / 475.2 MB, free: 8.723 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/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