Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 105 kB / 18.9 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 197.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.23 MB / 328.9 MB, free: 10.14 MB / 270.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 70.77 kB / 465.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 61.01 MB / 0.5146 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001814/0.1224, allocations: 0.5454 MB / 0.5151 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.1233, allocations: 410.8 kB / 0.5155 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.1233, allocations: 0 / 0.5155 GB, free: 7.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.1234, allocations: 7.938 kB / 0.5155 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.1234, allocations: 0 / 0.5155 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.1239, allocations: 143.5 kB / 0.5156 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.1239, allocations: 31.91 kB / 0.5157 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.124, allocations: 4 kB / 0.5157 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.124, allocations: 15.88 kB / 0.5157 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.1241, allocations: 15.92 kB / 0.5157 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1241, allocations: 7.984 kB / 0.5157 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.1244, allocations: 167.8 kB / 0.5159 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.1244, allocations: 7.984 kB / 0.5159 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1244, allocations: 19.81 kB / 0.5159 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1246, allocations: 127.6 kB / 0.516 GB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1246, allocations: 0 / 0.516 GB, free: 6.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1246, allocations: 0 / 0.516 GB, free: 6.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1247, allocations: 0 / 0.516 GB, free: 6.492 MB / 398.1 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.0004536/0.1251, allocations: 367.1 kB / 0.5164 GB, free: 6.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1251, allocations: 8.031 kB / 0.5164 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.1252, allocations: 12.83 kB / 0.5164 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1253, allocations: 172.3 kB / 0.5166 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1253, allocations: 4.375 kB / 0.5166 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1254, allocations: 8.375 kB / 0.5166 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1256, allocations: 62.17 kB / 0.5166 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1256, allocations: 11.89 kB / 0.5166 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1256, allocations: 4 kB / 0.5167 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1256, allocations: 0 / 0.5167 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.1257, allocations: 43.95 kB / 0.5167 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1259, allocations: 173.7 kB / 0.5169 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1261, allocations: 82.67 kB / 0.5169 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.1261, allocations: 28.78 kB / 0.517 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.1264, allocations: 105.1 kB / 0.5171 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1264, allocations: 34.56 kB / 0.5171 GB, free: 5.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.1264, allocations: 0 / 0.5171 GB, free: 5.219 MB / 398.1 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.1259/0.2523, allocations: 5.623 MB / 0.5226 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.2523, allocations: 55.41 kB / 0.5226 GB, free: 15.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2524, allocations: 97.86 kB / 0.5227 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.2525, allocations: 29.7 kB / 0.5228 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2525, allocations: 80.52 kB / 0.5228 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2526, allocations: 87.25 kB / 0.5229 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2527, allocations: 57.67 kB / 0.523 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2529, allocations: 326.8 kB / 0.5233 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.2532, allocations: 112 kB / 0.5234 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.2536, allocations: 115.8 kB / 0.5235 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.255, allocations: 320.5 kB / 0.5238 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.255, allocations: 0 / 0.5238 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001191/0.2562, allocations: 361.7 kB / 0.5242 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2562, allocations: 4 kB / 0.5242 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2563, allocations: 0 / 0.5242 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.2563, allocations: 4 kB / 0.5242 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.2567, allocations: 83.84 kB / 0.5242 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2567, allocations: 4 kB / 0.5242 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.2569, allocations: 23.97 kB / 0.5243 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2569, allocations: 23.86 kB / 0.5243 GB, free: 13.75 MB / 414.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 (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 0.0001264/0.257, allocations: 117.8 kB / 0.5244 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.2571, allocations: 11.95 kB / 0.5244 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2585, allocations: 429.8 kB / 0.5248 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.2585, allocations: 15.97 kB / 0.5248 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2585, allocations: 0 / 0.5248 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2585, allocations: 0 / 0.5248 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.2607, allocations: 0.7651 MB / 0.5256 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.2607, allocations: 15.88 kB / 0.5256 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.261, allocations: 75.86 kB / 0.5257 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.261, allocations: 0 / 0.5257 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.2611, allocations: 15.98 kB / 0.5257 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.2611, allocations: 4 kB / 0.5257 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2611, allocations: 0 / 0.5257 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.2623, allocations: 428.8 kB / 0.5261 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.2623, allocations: 85.06 kB / 0.5262 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.2624, allocations: 0 / 0.5262 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2626, allocations: 27.97 kB / 0.5262 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.2626, allocations: 15.92 kB / 0.5262 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.2626, allocations: 15.98 kB / 0.5262 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.152e-05/0.2627, allocations: 79.28 kB / 0.5263 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2627, allocations: 0 / 0.5263 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001856/0.2645, allocations: 0.6324 MB / 0.5269 GB, free: 10.91 MB / 414.1 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.002954/0.2675, allocations: 294.5 kB / 0.5272 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.2683, allocations: 252.3 kB / 0.5275 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2683, allocations: 0 / 0.5275 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.2687, allocations: 131.9 kB / 0.5276 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.2689, allocations: 11.94 kB / 0.5276 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2699, allocations: 356.8 kB / 0.5279 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.2703, allocations: 0.697 MB / 0.5286 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.2705, allocations: 47.39 kB / 0.5287 GB, free: 9.059 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.2705, allocations: 0 / 0.5287 GB, free: 9.059 MB / 414.1 MB Notification: Performance of Templates: time 0.2201/0.4905, allocations: 14.15 MB / 0.5425 GB, free: 20.44 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches