Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 70.89 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 161.8 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2034/0.2034, allocations: 32.81 MB / 294.1 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 67.91 kB / 440.5 MB, free: 9.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3148, allocations: 65.44 MB / 0.4941 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001439/0.3162, allocations: 0.5336 MB / 0.4947 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.3168, allocations: 375.8 kB / 0.495 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.3168, allocations: 6.969 kB / 0.495 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.3169, allocations: 3.938 kB / 0.495 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.8e-05/0.3169, allocations: 0 / 0.495 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.3173, allocations: 148.4 kB / 0.4952 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.877e-05/0.3174, allocations: 22.67 kB / 0.4952 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.3174, allocations: 0 / 0.4952 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.3174, allocations: 29 kB / 0.4952 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.3175, allocations: 13.83 kB / 0.4952 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3175, allocations: 3.281 kB / 0.4952 GB, free: 30.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.3177, allocations: 136.1 kB / 0.4954 GB, free: 30.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3177, allocations: 18.69 kB / 0.4954 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.3177, allocations: 7.125 kB / 0.4954 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3179, allocations: 129.9 kB / 0.4955 GB, free: 30.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3179, allocations: 3.219 kB / 0.4955 GB, free: 30.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3179, allocations: 0 / 0.4955 GB, free: 30.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3179, allocations: 0 / 0.4955 GB, free: 30.63 MB / 446.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.0002871/0.3182, allocations: 292 kB / 0.4958 GB, free: 30.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.3182, allocations: 9.688 kB / 0.4958 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.3183, allocations: 11.64 kB / 0.4958 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.3183, allocations: 106.5 kB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3183, allocations: 7.594 kB / 0.4959 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3184, allocations: 7.688 kB / 0.4959 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3185, allocations: 68 kB / 0.496 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3185, allocations: 3.938 kB / 0.496 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3185, allocations: 4 kB / 0.496 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3185, allocations: 3.094 kB / 0.496 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.3186, allocations: 36.98 kB / 0.496 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.3187, allocations: 125.5 kB / 0.4962 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3188, allocations: 80.39 kB / 0.4962 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.3188, allocations: 28.31 kB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.319, allocations: 26.53 kB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.3191, allocations: 34.5 kB / 0.4963 GB, free: 29.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.3191, allocations: 2.625 kB / 0.4963 GB, free: 29.91 MB / 446.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.1355/0.4545, allocations: 5.616 MB / 0.5018 GB, free: 29.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4546, allocations: 58.86 kB / 0.5019 GB, free: 29.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.4546, allocations: 93.81 kB / 0.5019 GB, free: 29.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4546, allocations: 29.7 kB / 0.502 GB, free: 29.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.4547, allocations: 80.52 kB / 0.5021 GB, free: 28.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.4547, allocations: 91.16 kB / 0.5021 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.4548, allocations: 57.02 kB / 0.5022 GB, free: 28.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.4549, allocations: 329.2 kB / 0.5025 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.4552, allocations: 113.9 kB / 0.5026 GB, free: 28.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.4555, allocations: 115.5 kB / 0.5027 GB, free: 28.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.4569, allocations: 322.5 kB / 0.503 GB, free: 28.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4569, allocations: 0 / 0.503 GB, free: 28.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001164/0.4581, allocations: 354.8 kB / 0.5034 GB, free: 28.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4581, allocations: 7.672 kB / 0.5034 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4581, allocations: 0 / 0.5034 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4581, allocations: 2.969 kB / 0.5034 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.4585, allocations: 80.62 kB / 0.5035 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4585, allocations: 3.938 kB / 0.5035 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.4587, allocations: 24.31 kB / 0.5035 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.4588, allocations: 17.25 kB / 0.5035 GB, free: 28.34 MB / 446.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 8.083e-05/0.4588, allocations: 129.3 kB / 0.5036 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.4589, allocations: 11.5 kB / 0.5036 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.4602, allocations: 429.4 kB / 0.504 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4602, allocations: 7.703 kB / 0.5041 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4602, allocations: 0 / 0.5041 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4602, allocations: 1.219 kB / 0.5041 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.4623, allocations: 0.7013 MB / 0.5047 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4623, allocations: 0 / 0.5047 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.4626, allocations: 74.89 kB / 0.5048 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4626, allocations: 3.25 kB / 0.5048 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.4626, allocations: 18.06 kB / 0.5048 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4626, allocations: 3.062 kB / 0.5048 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4626, allocations: 4.062 kB / 0.5048 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.4637, allocations: 421.2 kB / 0.5052 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.4637, allocations: 11.44 kB / 0.5053 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.4638, allocations: 8.891 kB / 0.5053 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4639, allocations: 24.47 kB / 0.5053 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.464, allocations: 24.45 kB / 0.5053 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.464, allocations: 12.88 kB / 0.5053 GB, free: 27.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.032e-05/0.464, allocations: 79.47 kB / 0.5054 GB, free: 27.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.464, allocations: 0 / 0.5054 GB, free: 27.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4655, allocations: 0.6334 MB / 0.506 GB, free: 27.38 MB / 446.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.003143/0.4687, allocations: 297.5 kB / 0.5063 GB, free: 27.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007922/0.4695, allocations: 257.8 kB / 0.5065 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4695, allocations: 4 kB / 0.5065 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003477/0.4698, allocations: 122.8 kB / 0.5067 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.4701, allocations: 14.81 kB / 0.5067 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/0.471, allocations: 336.3 kB / 0.507 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.471, allocations: 79.22 kB / 0.5071 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.4712, allocations: 79.3 kB / 0.5072 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.4714, allocations: 45.33 kB / 0.5072 GB, free: 26.86 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4714, allocations: 0 / 0.5072 GB, free: 26.86 MB / 446.1 MB Notification: Performance of Templates: time 0.06893/0.5403, allocations: 54.06 MB / 0.56 GB, free: 5.273 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.682498408015817]