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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_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.001113/0.001113, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001254/0.001254, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3328/0.3328, allocations: 43.5 MB / 313.6 MB, free: 8.492 MB / 254.1 MB 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.001433/0.001434, allocations: 67.89 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 57.77 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.002277/0.1269, allocations: 0.6048 MB / 440.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.1279, allocations: 414.2 kB / 441.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.1279, allocations: 3.938 kB / 441.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.1279, allocations: 3.938 kB / 441.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.128, allocations: 0 / 441.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1285, allocations: 128 kB / 441.2 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.1286, allocations: 23.98 kB / 441.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1287, allocations: 7.984 kB / 441.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.1287, allocations: 15.92 kB / 441.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1287, allocations: 15.92 kB / 441.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.1288, allocations: 4 kB / 441.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.1291, allocations: 159.8 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.1291, allocations: 11.94 kB / 441.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1291, allocations: 19.91 kB / 441.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1294, allocations: 135.7 kB / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1294, allocations: 0 / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1294, allocations: 0 / 441.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1294, allocations: 0 / 441.6 MB, free: 13.1 MB / 382.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.0004163/0.1298, allocations: 367.4 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1299, allocations: 11.89 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.1299, allocations: 38.75 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1299, allocations: 8.844 kB / 442 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1301, allocations: 160.4 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1301, allocations: 4.312 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.1301, allocations: 20.36 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1303, allocations: 61.98 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1303, allocations: 0 / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.1303, allocations: 0 / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1303, allocations: 4 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.1304, allocations: 47.95 kB / 442.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.1306, allocations: 173.6 kB / 442.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1308, allocations: 90.48 kB / 442.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.1308, allocations: 32.86 kB / 442.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002633/0.1311, allocations: 105.1 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.1311, allocations: 34.5 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1311, allocations: 0 / 442.8 MB, free: 11.78 MB / 382.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.1242/0.2553, allocations: 5.624 MB / 448.4 MB, free: 6.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2554, allocations: 55.41 kB / 448.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.2555, allocations: 89.86 kB / 448.5 MB, free: 5.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2555, allocations: 29.7 kB / 448.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.2556, allocations: 84.64 kB / 448.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.2556, allocations: 74.91 kB / 448.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2558, allocations: 57.67 kB / 448.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2559, allocations: 322.8 kB / 449.1 MB, free: 5.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.2562, allocations: 107.9 kB / 449.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.2565, allocations: 119.8 kB / 449.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2579, allocations: 324.5 kB / 449.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2579, allocations: 0 / 449.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00113/0.259, allocations: 365.6 kB / 450 MB, free: 4.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2591, allocations: 4 kB / 450 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2591, allocations: 0 / 450 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2591, allocations: 0 / 450 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.2595, allocations: 83.84 kB / 450.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2595, allocations: 0 / 450.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.2597, allocations: 35.91 kB / 450.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.2597, allocations: 15.98 kB / 450.1 MB, free: 4.32 MB / 382.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 9.781e-05/0.2598, allocations: 113.8 kB / 450.2 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.2599, allocations: 11.89 kB / 450.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.2613, allocations: 437.7 kB / 450.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2613, allocations: 0 / 450.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2613, allocations: 0 / 450.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.2613, allocations: 7.922 kB / 450.7 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.2635, allocations: 0.7844 MB / 451.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2635, allocations: 0 / 451.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.2638, allocations: 79.86 kB / 451.5 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2638, allocations: 0 / 451.5 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.2638, allocations: 15.98 kB / 451.6 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2638, allocations: 0 / 451.6 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2639, allocations: 4 kB / 451.6 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.265, allocations: 428.7 kB / 452 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.265, allocations: 85 kB / 452.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.2651, allocations: 8 kB / 452.1 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.2653, allocations: 19.97 kB / 452.1 MB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.2653, allocations: 15.98 kB / 452.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.2653, allocations: 15.98 kB / 452.1 MB, free: 2.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.164e-05/0.2654, allocations: 83.22 kB / 452.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2654, allocations: 0 / 452.2 MB, free: 2.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001572/0.2669, allocations: 0.6289 MB / 452.8 MB, free: 1.484 MB / 382.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.0044/0.2714, allocations: 1.14 MB / 454 MB, free: 320 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007832/0.2722, allocations: 279.6 kB / 454.2 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2722, allocations: 0 / 454.2 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1999/0.4721, allocations: 131 kB / 454.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.4725, allocations: 11.78 kB / 454.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.4744, allocations: 461 kB / 454.8 MB, free: 47.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.4746, allocations: 0.6951 MB / 455.5 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002937/0.4749, allocations: 78.34 kB / 455.6 MB, free: 46.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.475, allocations: 55.39 kB / 455.7 MB, free: 46.48 MB / 382.1 MB Notification: Performance of SimCode: time 9.41e-07/0.475, allocations: 0.6562 kB / 455.7 MB, free: 46.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08714/0.5622, allocations: 54.93 MB / 0.4986 GB, free: 23.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.5624, allocations: 216.8 kB / 0.4988 GB, free: 23.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/2.996, allocations: 4 kB / 0.4988 GB, free: 23.17 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches