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.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 109.4 kB / 17.33 MB, free: 5.992 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.001075/0.001075, allocations: 189.3 kB / 18.25 MB, free: 5.086 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.366/1.366, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2068/0.2068, allocations: 44.18 MB / 336.3 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.95 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001896/0.1134, allocations: 0.5954 MB / 469.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.1142, allocations: 413.3 kB / 469.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.1142, allocations: 0 / 469.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.1143, allocations: 7.938 kB / 469.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.1143, allocations: 0 / 469.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.1149, allocations: 127.8 kB / 469.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.115, allocations: 27.98 kB / 470 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.115, allocations: 3.938 kB / 470 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.996e-05/0.1151, allocations: 15.98 kB / 470 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/0.1151, allocations: 19.86 kB / 470 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1152, allocations: 0 / 470 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.1154, allocations: 167.8 kB / 470.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1155, allocations: 7.984 kB / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1155, allocations: 19.86 kB / 470.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1157, allocations: 132 kB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1157, allocations: 0 / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1157, allocations: 4 kB / 470.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1158, allocations: 0 / 470.3 MB, free: 13.1 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004213/0.1162, allocations: 355.6 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1162, allocations: 12.03 kB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.1163, allocations: 34.75 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.1163, allocations: 12.84 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.1165, allocations: 172.2 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1165, allocations: 4.375 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.1165, allocations: 8.375 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1167, allocations: 61.98 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1167, allocations: 7.906 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1167, allocations: 4 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1168, allocations: 0 / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.536e-05/0.1169, allocations: 43.95 kB / 471 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.1172, allocations: 173.7 kB / 471.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1173, allocations: 94.55 kB / 471.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1174, allocations: 28.84 kB / 471.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.1177, allocations: 101.1 kB / 471.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1177, allocations: 34.5 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1177, allocations: 4 kB / 471.5 MB, free: 11.78 MB / 350.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.1281/0.2458, allocations: 5.621 MB / 477.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.2459, allocations: 55.41 kB / 477.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.246, allocations: 93.86 kB / 477.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.2461, allocations: 33.7 kB / 477.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2462, allocations: 84.52 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.2463, allocations: 78.84 kB / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2464, allocations: 57.67 kB / 477.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2466, allocations: 322.8 kB / 477.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.2469, allocations: 116 kB / 477.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.2473, allocations: 111.9 kB / 478 MB, free: 5.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.2487, allocations: 324.2 kB / 478.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2487, allocations: 3.938 kB / 478.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001125/0.2498, allocations: 349.2 kB / 478.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2498, allocations: 7.938 kB / 478.7 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.2499, allocations: 3.984 kB / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2499, allocations: 4 kB / 478.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.2503, allocations: 83.86 kB / 478.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2503, allocations: 4 kB / 478.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.2505, allocations: 23.91 kB / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.2505, allocations: 23.97 kB / 478.8 MB, free: 4.324 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 (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.0001378/0.2507, allocations: 117.8 kB / 478.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.2507, allocations: 7.906 kB / 478.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.2523, allocations: 436.7 kB / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2523, allocations: 0 / 479.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2523, allocations: 4 kB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2523, allocations: 3.938 kB / 479.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.2545, allocations: 0.7767 MB / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2545, allocations: 0 / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.2548, allocations: 79.86 kB / 480.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2548, allocations: 4.062 kB / 480.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.2549, allocations: 11.98 kB / 480.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2549, allocations: 4 kB / 480.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2549, allocations: 0 / 480.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.2562, allocations: 432.6 kB / 480.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.2563, allocations: 85.02 kB / 480.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.2564, allocations: 4 kB / 480.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2566, allocations: 31.97 kB / 480.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2566, allocations: 15.97 kB / 480.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.2567, allocations: 12 kB / 480.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.154e-05/0.2567, allocations: 79.22 kB / 480.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.675e-06/0.2568, allocations: 4 kB / 480.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002027/0.2588, allocations: 0.6249 MB / 481.5 MB, free: 1.496 MB / 350.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.004814/0.2636, allocations: 1.136 MB / 482.7 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.2644, allocations: 277.9 kB / 482.9 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2644, allocations: 0 / 482.9 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.2648, allocations: 129.3 kB / 483.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2651, allocations: 14.97 kB / 483.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.267, allocations: 468.8 kB / 483.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2673, allocations: 0.697 MB / 484.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003123/0.2676, allocations: 77.09 kB / 484.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.2678, allocations: 59.38 kB / 484.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2678, allocations: 0 / 484.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4388/0.7066, allocations: 54.92 MB / 0.5267 GB, free: 34.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/0.7068, allocations: 218 kB / 0.5269 GB, free: 34.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.881, allocations: 0 / 0.5269 GB, free: 34.7 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) 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) Reference file matches