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.001752/0.001752, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001903/0.001903, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.521/1.521, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.236/0.236, allocations: 46.92 MB / 357.8 MB, free: 10.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.91 kB / 0.4916 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 65.99 MB / 0.5561 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001648/0.1343, allocations: 0.5303 MB / 0.5566 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007703/0.1351, allocations: 411.4 kB / 0.557 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1351, allocations: 4 kB / 0.557 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.1351, allocations: 3.938 kB / 0.557 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.199e-05/0.1351, allocations: 3.938 kB / 0.557 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.1356, allocations: 135.6 kB / 0.5571 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.1357, allocations: 35.91 kB / 0.5571 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.616e-05/0.1357, allocations: 0 / 0.5571 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.1357, allocations: 15.92 kB / 0.5572 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.1358, allocations: 23.91 kB / 0.5572 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1358, allocations: 4 kB / 0.5572 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1361, allocations: 171.7 kB / 0.5573 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1361, allocations: 4 kB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.1361, allocations: 19.86 kB / 0.5574 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1363, allocations: 131.6 kB / 0.5575 GB, free: 4.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1363, allocations: 0 / 0.5575 GB, free: 4.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1364, allocations: 0 / 0.5575 GB, free: 4.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1364, allocations: 0 / 0.5575 GB, free: 4.359 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.0004744/0.1368, allocations: 367.1 kB / 0.5578 GB, free: 3.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1369, allocations: 12.03 kB / 0.5579 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.283e-05/0.1369, allocations: 4.188 kB / 0.5579 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.1369, allocations: 38.75 kB / 0.5579 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.1369, allocations: 8.828 kB / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1371, allocations: 168.3 kB / 0.5581 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1371, allocations: 384 / 0.5581 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.1371, allocations: 16.34 kB / 0.5581 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1373, allocations: 65.8 kB / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1373, allocations: 0 / 0.5581 GB, free: 3.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1373, allocations: 4 kB / 0.5581 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1373, allocations: 8 kB / 0.5582 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.1374, allocations: 39.95 kB / 0.5582 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.1376, allocations: 173.6 kB / 0.5584 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1378, allocations: 94.44 kB / 0.5584 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.1378, allocations: 20.86 kB / 0.5585 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002764/0.1381, allocations: 113.1 kB / 0.5586 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1381, allocations: 34.5 kB / 0.5586 GB, free: 3.027 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.1381, allocations: 0 / 0.5586 GB, free: 3.027 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.1273/0.2654, allocations: 5.613 MB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.2654, allocations: 55.27 kB / 0.5641 GB, free: 13.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.2655, allocations: 101.8 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2655, allocations: 29.64 kB / 0.5643 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.2656, allocations: 80.52 kB / 0.5643 GB, free: 13.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.2657, allocations: 83.31 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2658, allocations: 61.67 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.266, allocations: 323 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.2663, allocations: 111.9 kB / 0.5649 GB, free: 12.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.2667, allocations: 114.9 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.2681, allocations: 316.6 kB / 0.5653 GB, free: 12.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2682, allocations: 4 kB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001251/0.2694, allocations: 356.5 kB / 0.5657 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2694, allocations: 8 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2694, allocations: 4 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.2694, allocations: 0 / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.2698, allocations: 83.84 kB / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2698, allocations: 0 / 0.5657 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.27, allocations: 27.91 kB / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.2701, allocations: 15.98 kB / 0.5658 GB, free: 11.59 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.0001411/0.2702, allocations: 131.9 kB / 0.5659 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.2703, allocations: 11.94 kB / 0.5659 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.2718, allocations: 421.9 kB / 0.5663 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2718, allocations: 4 kB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2718, allocations: 0 / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2718, allocations: 7.922 kB / 0.5663 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.2741, allocations: 0.7767 MB / 0.5671 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2741, allocations: 3.938 kB / 0.5671 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.2744, allocations: 75.86 kB / 0.5672 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2744, allocations: 4 kB / 0.5672 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.2745, allocations: 20.05 kB / 0.5672 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2745, allocations: 4 kB / 0.5672 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2745, allocations: 0 / 0.5672 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.2757, allocations: 427 kB / 0.5676 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.2758, allocations: 89.05 kB / 0.5677 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2758, allocations: 0 / 0.5677 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.276, allocations: 31.97 kB / 0.5677 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.276, allocations: 15.98 kB / 0.5677 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.276, allocations: 11.98 kB / 0.5677 GB, free: 9.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.2761, allocations: 79.28 kB / 0.5678 GB, free: 9.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2761, allocations: 0 / 0.5678 GB, free: 9.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001783/0.2779, allocations: 0.6323 MB / 0.5684 GB, free: 8.746 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.004804/0.2827, allocations: 1.149 MB / 0.5696 GB, free: 7.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009247/0.2836, allocations: 259.5 kB / 0.5698 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2836, allocations: 0 / 0.5698 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.284, allocations: 123.8 kB / 0.5699 GB, free: 7.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.2842, allocations: 9.547 kB / 0.5699 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.2861, allocations: 424.6 kB / 0.5703 GB, free: 6.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.2864, allocations: 0.7009 MB / 0.571 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.2866, allocations: 73.08 kB / 0.5711 GB, free: 5.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.2868, allocations: 59.39 kB / 0.5712 GB, free: 5.855 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2868, allocations: 4 kB / 0.5712 GB, free: 5.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3668/0.6536, allocations: 55.12 MB / 0.625 GB, free: 16.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/9.28, allocations: 10.52 kB / 0.625 GB, free: 16.61 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.627985641011037]