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.001693/0.001693, allocations: 112.2 kB / 21.22 MB, free: 0.7461 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.002135/0.002135, allocations: 210 kB / 24.53 MB, free: 4.148 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2181/0.2181, allocations: 46.93 MB / 361.6 MB, free: 4.281 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.001915/0.001915, allocations: 63.91 kB / 0.4969 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2985, allocations: 66.04 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001588/0.3001, allocations: 0.5305 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007513/0.3008, allocations: 410.8 kB / 0.5623 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.627e-05/0.3008, allocations: 8 kB / 0.5623 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.3008, allocations: 3.938 kB / 0.5623 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.176e-05/0.3009, allocations: 0 / 0.5623 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3013, allocations: 139.3 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.3014, allocations: 31.92 kB / 0.5625 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.3014, allocations: 7.984 kB / 0.5625 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.3014, allocations: 15.92 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.3015, allocations: 19.92 kB / 0.5625 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3015, allocations: 8 kB / 0.5625 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.3018, allocations: 159.8 kB / 0.5627 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3018, allocations: 4 kB / 0.5627 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.3018, allocations: 19.86 kB / 0.5627 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.302, allocations: 129.6 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.302, allocations: 0 / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.302, allocations: 0 / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.302, allocations: 0 / 0.5628 GB, free: 3.008 MB / 398.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.0004004/0.3024, allocations: 298 kB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3025, allocations: 12.03 kB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.3025, allocations: 4.188 kB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.3025, allocations: 42.73 kB / 0.5632 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.3026, allocations: 12.83 kB / 0.5632 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.3027, allocations: 106.5 kB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3027, allocations: 4.375 kB / 0.5633 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3027, allocations: 4.375 kB / 0.5633 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3028, allocations: 73.73 kB / 0.5634 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3028, allocations: 3.938 kB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3028, allocations: 4 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3028, allocations: 3.984 kB / 0.5634 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.3029, allocations: 39.97 kB / 0.5634 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.3031, allocations: 152.6 kB / 0.5636 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3032, allocations: 78.48 kB / 0.5636 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.3033, allocations: 28.84 kB / 0.5637 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.3035, allocations: 27.97 kB / 0.5637 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3035, allocations: 38.48 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3035, allocations: 0 / 0.5637 GB, free: 1.961 MB / 398.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.1317/0.4352, allocations: 5.624 MB / 0.5692 GB, free: 12.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.4353, allocations: 55.27 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.4354, allocations: 97.8 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.4354, allocations: 29.7 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.4354, allocations: 80.52 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.4355, allocations: 75.33 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4356, allocations: 61.67 kB / 0.5696 GB, free: 11.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4358, allocations: 327 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.4362, allocations: 115.9 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.4365, allocations: 119.5 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.438, allocations: 316.5 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.438, allocations: 4 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001218/0.4392, allocations: 352.1 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4392, allocations: 8 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4392, allocations: 4 kB / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4392, allocations: 0 / 0.5708 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.4396, allocations: 87.84 kB / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4396, allocations: 0 / 0.5709 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4398, allocations: 23.91 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4399, allocations: 23.97 kB / 0.5709 GB, free: 10.5 MB / 414.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.0001177/0.44, allocations: 117.8 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.44, allocations: 7.953 kB / 0.5711 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.4414, allocations: 429.8 kB / 0.5715 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4414, allocations: 4 kB / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4415, allocations: 0 / 0.5715 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4415, allocations: 3.938 kB / 0.5715 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.4437, allocations: 0.754 MB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.4437, allocations: 3.938 kB / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.444, allocations: 75.88 kB / 0.5723 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.444, allocations: 8.047 kB / 0.5723 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.444, allocations: 8 kB / 0.5723 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.4441, allocations: 4 kB / 0.5723 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4441, allocations: 7.984 kB / 0.5723 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4453, allocations: 420.8 kB / 0.5727 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.4453, allocations: 7.953 kB / 0.5727 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4453, allocations: 11.94 kB / 0.5727 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4455, allocations: 35.89 kB / 0.5728 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.4455, allocations: 7.984 kB / 0.5728 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.4456, allocations: 15.98 kB / 0.5728 GB, free: 8.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.246e-05/0.4456, allocations: 79.28 kB / 0.5729 GB, free: 8.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4456, allocations: 0 / 0.5729 GB, free: 8.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001699/0.4473, allocations: 0.6284 MB / 0.5735 GB, free: 7.797 MB / 414.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.004432/0.4517, allocations: 1.143 MB / 0.5746 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007972/0.4525, allocations: 263.5 kB / 0.5748 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4525, allocations: 0 / 0.5748 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.4529, allocations: 123.8 kB / 0.575 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.4532, allocations: 19.92 kB / 0.575 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4549, allocations: 424.7 kB / 0.5754 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4552, allocations: 0.6931 MB / 0.5761 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.4555, allocations: 77.08 kB / 0.5761 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4556, allocations: 59.39 kB / 0.5762 GB, free: 4.906 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4556, allocations: 0 / 0.5762 GB, free: 4.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08882/0.5444, allocations: 55.33 MB / 0.6302 GB, free: 13.68 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.96, allocations: 8 kB / 0.6302 GB, free: 13.67 MB / 478.1 MB " [Timeout remaining time 648] (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: 15.013217679981608]