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.0009026/0.0009026, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001109/0.001109, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8893/0.8893, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2544/0.2544, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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 1.653e-06/1.653e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.295e-05, allocations: 2.281 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001207/0.00123, allocations: 0.5185 MB / 442.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005725/0.001803, allocations: 382.8 kB / 443.1 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.001831, allocations: 0 / 443.1 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.872e-05/0.00185, allocations: 3.938 kB / 443.1 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.417e-05/0.001874, allocations: 3.938 kB / 443.1 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.002308, allocations: 143.3 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.002366, allocations: 27.91 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.002411, allocations: 7.984 kB / 443.2 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.00245, allocations: 15.98 kB / 443.3 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.002501, allocations: 15.92 kB / 443.3 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.002513, allocations: 0 / 443.3 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.002702, allocations: 143.7 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.002719, allocations: 11.98 kB / 443.4 MB, free: 420 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.00274, allocations: 15.92 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.002919, allocations: 151.6 kB / 443.6 MB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.002922, allocations: 0 / 443.6 MB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.002923, allocations: 3.938 kB / 443.6 MB, free: 248 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.002927, allocations: 0 / 443.6 MB, free: 248 kB / 410.7 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.1791/0.182, allocations: 287.6 kB / 443.9 MB, free: 44.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.182, allocations: 8.688 kB / 443.9 MB, free: 44.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.537e-05/0.1821, allocations: 36.97 kB / 443.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.1821, allocations: 7.172 kB / 443.9 MB, free: 44.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.883e-05/0.1822, allocations: 111.6 kB / 444 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1822, allocations: 4.562 kB / 444 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.1822, allocations: 9.875 kB / 444 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.679e-05/0.1823, allocations: 62.41 kB / 444.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1823, allocations: 2.625 kB / 444.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1823, allocations: 3.688 kB / 444.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1823, allocations: 13.72 kB / 444.1 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.1824, allocations: 42.3 kB / 444.2 MB, free: 44.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1825, allocations: 143.4 kB / 444.3 MB, free: 43.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1826, allocations: 81.48 kB / 444.4 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.1826, allocations: 25.42 kB / 444.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.1828, allocations: 28.53 kB / 444.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.1829, allocations: 34.44 kB / 444.5 MB, free: 43.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.1829, allocations: 0 / 444.5 MB, free: 43.87 MB / 410.7 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.05708/0.2399, allocations: 5.623 MB / 450.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.24, allocations: 54.34 kB / 450.1 MB, free: 43.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.24, allocations: 95.97 kB / 450.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2401, allocations: 27.95 kB / 450.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.2401, allocations: 83.39 kB / 450.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.2401, allocations: 81.11 kB / 450.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.2402, allocations: 61.34 kB / 450.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.2403, allocations: 325.2 kB / 450.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2405, allocations: 117.3 kB / 450.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.2407, allocations: 113.4 kB / 451 MB, free: 42.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007754/0.2414, allocations: 324.4 kB / 451.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2414, allocations: 0 / 451.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007191/0.2422, allocations: 356.4 kB / 451.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.2422, allocations: 5.5 kB / 451.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2422, allocations: 0 / 451.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/0.2422, allocations: 2.719 kB / 451.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.2425, allocations: 89.39 kB / 451.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2425, allocations: 4.594 kB / 451.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.2426, allocations: 20.5 kB / 451.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.2426, allocations: 23.59 kB / 451.8 MB, free: 42.54 MB / 410.7 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.0001241/0.2428, allocations: 128.1 kB / 452 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.2428, allocations: 6.609 kB / 452 MB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/0.2436, allocations: 424.5 kB / 452.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2436, allocations: 2.781 kB / 452.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2436, allocations: 0 / 452.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2436, allocations: 7.844 kB / 452.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.2449, allocations: 0.7377 MB / 453.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2449, allocations: 0 / 453.1 MB, free: 41.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.245, allocations: 77.11 kB / 453.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.245, allocations: 6.188 kB / 453.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.245, allocations: 17.02 kB / 453.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.245, allocations: 2.719 kB / 453.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2451, allocations: 0 / 453.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.2457, allocations: 422.2 kB / 453.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.2457, allocations: 6.984 kB / 453.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.2457, allocations: 10.62 kB / 453.7 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.2458, allocations: 25.97 kB / 453.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.2458, allocations: 15.28 kB / 453.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.2459, allocations: 15.7 kB / 453.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.173e-05/0.2459, allocations: 82.34 kB / 453.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2459, allocations: 0 / 453.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001338/0.2472, allocations: 0.6246 MB / 454.4 MB, free: 41.58 MB / 410.7 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.003232/0.2504, allocations: 1.169 MB / 455.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005499/0.251, allocations: 254 kB / 455.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.251, allocations: 0 / 455.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2512, allocations: 124.5 kB / 456 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2514, allocations: 25.17 kB / 456 MB, free: 40.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.2528, allocations: 428.6 kB / 456.4 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.411e-05/0.2529, allocations: 88.25 kB / 456.5 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.253, allocations: 77.92 kB / 456.6 MB, free: 40.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2531, allocations: 59.2 kB / 456.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2531, allocations: 4 kB / 456.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07044/0.3236, allocations: 55.94 MB / 0.5006 GB, free: 10.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.37, allocations: 0 / 0.5006 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/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: 9.351922330446541]