Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.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_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009737/0.0009738, allocations: 198.4 kB / 15.79 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.6 MB / 243.1 MB, free: 12.51 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007417/0.0007415, allocations: 99.67 kB / 295.1 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1816/0.1816, allocations: 44.84 MB / 392 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 464.7 MB, free: 68.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08112, allocations: 62.96 MB / 0.5153 GB, free: 5.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.000466/0.08163, allocations: 258 kB / 0.5156 GB, free: 4.828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000498/0.08214, allocations: 383.2 kB / 0.5159 GB, free: 4.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.08217, allocations: 0 / 0.5159 GB, free: 4.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.638e-06/0.08219, allocations: 0 / 0.5159 GB, free: 4.449 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.993e-05/0.08221, allocations: 4 kB / 0.5159 GB, free: 4.445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.08255, allocations: 99.77 kB / 0.516 GB, free: 4.348 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.018e-05/0.08259, allocations: 27.92 kB / 0.5161 GB, free: 4.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.08263, allocations: 4 kB / 0.5161 GB, free: 4.316 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.08266, allocations: 7.984 kB / 0.5161 GB, free: 4.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.08271, allocations: 19.92 kB / 0.5161 GB, free: 4.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.08272, allocations: 4 kB / 0.5161 GB, free: 4.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.0829, allocations: 159.8 kB / 0.5162 GB, free: 4.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.08292, allocations: 11.98 kB / 0.5163 GB, free: 4.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.08294, allocations: 33.64 kB / 0.5163 GB, free: 4.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.08305, allocations: 75.89 kB / 0.5164 GB, free: 4.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.08306, allocations: 0 / 0.5164 GB, free: 4.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08306, allocations: 0 / 0.5164 GB, free: 4.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.08307, allocations: 0 / 0.5164 GB, free: 4.004 MB / 346.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.0002448/0.08332, allocations: 355.6 kB / 0.5167 GB, free: 3.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.08335, allocations: 12.03 kB / 0.5167 GB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.08338, allocations: 3.906 kB / 0.5167 GB, free: 3.594 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.013e-05/0.08345, allocations: 175 kB / 0.5169 GB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.08347, allocations: 0 / 0.5169 GB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.08349, allocations: 8 kB / 0.5169 GB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.66e-05/0.08359, allocations: 65.61 kB / 0.517 GB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.08361, allocations: 0 / 0.517 GB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.08362, allocations: 4 kB / 0.517 GB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.08363, allocations: 4 kB / 0.517 GB, free: 3.297 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.0837, allocations: 43.95 kB / 0.517 GB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.08382, allocations: 185.4 kB / 0.5172 GB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.08392, allocations: 86.55 kB / 0.5173 GB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.08396, allocations: 24.86 kB / 0.5173 GB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.08418, allocations: 121 kB / 0.5174 GB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.0842, allocations: 34.56 kB / 0.5174 GB, free: 2.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.08421, allocations: 0 / 0.5174 GB, free: 2.723 MB / 346.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.1201/0.2044, allocations: 5.836 MB / 0.5231 GB, free: 12.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2044, allocations: 59.36 kB / 0.5232 GB, free: 12.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.2045, allocations: 93.86 kB / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2045, allocations: 29.7 kB / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.2045, allocations: 80.52 kB / 0.5234 GB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.2046, allocations: 82.83 kB / 0.5235 GB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.2046, allocations: 7.938 kB / 0.5235 GB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.2047, allocations: 318.8 kB / 0.5238 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2051, allocations: 136 kB / 0.5239 GB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.2055, allocations: 143.3 kB / 0.524 GB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.2062, allocations: 175.9 kB / 0.5242 GB, free: 11.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2062, allocations: 0 / 0.5242 GB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001139/0.2073, allocations: 397.1 kB / 0.5246 GB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2073, allocations: 8 kB / 0.5246 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2073, allocations: 4 kB / 0.5246 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2074, allocations: 4 kB / 0.5246 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.2077, allocations: 91.91 kB / 0.5247 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2078, allocations: 7.953 kB / 0.5247 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.208, allocations: 35.97 kB / 0.5247 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.208, allocations: 19.97 kB / 0.5248 GB, free: 11.14 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.2081, allocations: 121.8 kB / 0.5249 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2081, allocations: 7.906 kB / 0.5249 GB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.2095, allocations: 484.9 kB / 0.5253 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2095, allocations: 0 / 0.5253 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2095, allocations: 0 / 0.5253 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2095, allocations: 7.953 kB / 0.5253 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.2116, allocations: 0.8648 MB / 0.5262 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2117, allocations: 0 / 0.5262 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.2119, allocations: 91.98 kB / 0.5263 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.212, allocations: 0 / 0.5263 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.212, allocations: 11.98 kB / 0.5263 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.212, allocations: 7.938 kB / 0.5263 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.212, allocations: 0 / 0.5263 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.2131, allocations: 472.7 kB / 0.5267 GB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.2131, allocations: 85.02 kB / 0.5268 GB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.2131, allocations: 8 kB / 0.5268 GB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2133, allocations: 39.97 kB / 0.5269 GB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.2134, allocations: 11.98 kB / 0.5269 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2134, allocations: 15.98 kB / 0.5269 GB, free: 8.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.2134, allocations: 87.22 kB / 0.527 GB, free: 8.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2134, allocations: 0 / 0.527 GB, free: 8.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001442/0.2149, allocations: 0.625 MB / 0.5276 GB, free: 8.121 MB / 362.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 (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.002705/0.2176, allocations: 298.9 kB / 0.5279 GB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.2184, allocations: 307.7 kB / 0.5282 GB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2184, allocations: 4 kB / 0.5282 GB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.2187, allocations: 159.9 kB / 0.5283 GB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.219, allocations: 11.94 kB / 0.5283 GB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/0.2199, allocations: 439.7 kB / 0.5288 GB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2201, allocations: 0.6973 MB / 0.5294 GB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.2203, allocations: 43.39 kB / 0.5295 GB, free: 6.105 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2203, allocations: 4 kB / 0.5295 GB, free: 6.102 MB / 362.7 MB Notification: Performance of Templates: time 0.01852/0.2388, allocations: 14.19 MB / 0.5433 GB, free: 7.945 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches