Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001723/0.001723, allocations: 123 kB / 17.79 MB, free: 5.246 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.002103/0.002103, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2157/0.2157, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 67.89 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1289, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001624/0.1305, allocations: 0.532 MB / 0.5559 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.1313, allocations: 415.3 kB / 0.5563 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.1314, allocations: 4 kB / 0.5563 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.1314, allocations: 3.938 kB / 0.5563 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.987e-05/0.1314, allocations: 3.938 kB / 0.5563 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005006/0.1319, allocations: 139.6 kB / 0.5564 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.132, allocations: 31.91 kB / 0.5565 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.132, allocations: 0 / 0.5565 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.914e-05/0.132, allocations: 19.92 kB / 0.5565 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.1321, allocations: 19.92 kB / 0.5565 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.1321, allocations: 4 kB / 0.5565 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.1324, allocations: 163.8 kB / 0.5567 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.1324, allocations: 11.98 kB / 0.5567 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.1324, allocations: 15.88 kB / 0.5567 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.1326, allocations: 127.6 kB / 0.5568 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1326, allocations: 0 / 0.5568 GB, free: 4.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1326, allocations: 0 / 0.5568 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1326, allocations: 0 / 0.5568 GB, free: 4.379 MB / 414.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.0004725/0.1331, allocations: 371.1 kB / 0.5572 GB, free: 3.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1331, allocations: 8.031 kB / 0.5572 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.864e-05/0.1332, allocations: 42.73 kB / 0.5572 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1332, allocations: 8.891 kB / 0.5572 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1334, allocations: 168.3 kB / 0.5574 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1334, allocations: 8.375 kB / 0.5574 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.1334, allocations: 4.375 kB / 0.5574 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1336, allocations: 65.97 kB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1336, allocations: 8 kB / 0.5575 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1336, allocations: 0 / 0.5575 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1336, allocations: 0 / 0.5575 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.1337, allocations: 43.95 kB / 0.5575 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1339, allocations: 177.6 kB / 0.5577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1341, allocations: 78.48 kB / 0.5577 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1341, allocations: 24.84 kB / 0.5578 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.1344, allocations: 109.1 kB / 0.5579 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1344, allocations: 42.48 kB / 0.5579 GB, free: 3.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.1344, allocations: 0 / 0.5579 GB, free: 3.055 MB / 414.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.1364/0.2708, allocations: 5.611 MB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.2709, allocations: 63.27 kB / 0.5635 GB, free: 13.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.271, allocations: 93.84 kB / 0.5635 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.271, allocations: 33.7 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.271, allocations: 80.52 kB / 0.5637 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/0.2711, allocations: 75.33 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2713, allocations: 57.67 kB / 0.5638 GB, free: 12.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2714, allocations: 330.7 kB / 0.5641 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.2718, allocations: 112 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.2722, allocations: 122.9 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.2737, allocations: 324.6 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2737, allocations: 0 / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001286/0.275, allocations: 356.5 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.275, allocations: 4 kB / 0.565 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.275, allocations: 3.984 kB / 0.565 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.275, allocations: 4 kB / 0.565 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.2754, allocations: 79.86 kB / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2754, allocations: 7.984 kB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2756, allocations: 27.91 kB / 0.5651 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.2757, allocations: 15.98 kB / 0.5651 GB, free: 11.6 MB / 430.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.0001206/0.2758, allocations: 124 kB / 0.5652 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.2758, allocations: 11.95 kB / 0.5652 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.2773, allocations: 425.8 kB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2773, allocations: 4 kB / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2773, allocations: 0 / 0.5656 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2773, allocations: 7.922 kB / 0.5657 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.2797, allocations: 0.7767 MB / 0.5664 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2797, allocations: 4 kB / 0.5664 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/0.2799, allocations: 75.81 kB / 0.5665 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.28, allocations: 0 / 0.5665 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.28, allocations: 15.98 kB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.28, allocations: 8 kB / 0.5665 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.28, allocations: 4.062 kB / 0.5665 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2812, allocations: 428.7 kB / 0.5669 GB, free: 9.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.2813, allocations: 85.06 kB / 0.567 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2813, allocations: 4 kB / 0.567 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2815, allocations: 27.95 kB / 0.567 GB, free: 9.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.2815, allocations: 11.98 kB / 0.567 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.2816, allocations: 19.98 kB / 0.5671 GB, free: 9.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.2816, allocations: 75.28 kB / 0.5671 GB, free: 9.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2816, allocations: 0 / 0.5671 GB, free: 9.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001796/0.2834, allocations: 0.6362 MB / 0.5678 GB, free: 8.762 MB / 430.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.004753/0.2882, allocations: 1.146 MB / 0.5689 GB, free: 7.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.289, allocations: 251.5 kB / 0.5691 GB, free: 7.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.289, allocations: 4 kB / 0.5691 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.2894, allocations: 123.8 kB / 0.5692 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.2897, allocations: 12 kB / 0.5692 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.2915, allocations: 420.6 kB / 0.5697 GB, free: 6.738 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2919, allocations: 0.7008 MB / 0.5703 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.2921, allocations: 73.08 kB / 0.5704 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2923, allocations: 59.39 kB / 0.5705 GB, free: 5.879 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2923, allocations: 0 / 0.5705 GB, free: 5.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3775/0.6698, allocations: 55.07 MB / 0.6242 GB, free: 16.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.109, allocations: 17.7 kB / 0.6243 GB, free: 16.65 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 12.078199460869655]