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.001809/0.001809, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002105/0.002105, allocations: 218 kB / 24.52 MB, free: 3.91 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.2234/0.2234, allocations: 46.96 MB / 361.7 MB, free: 4.016 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.002056/0.002056, allocations: 63.91 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2986, allocations: 66.03 MB / 0.5613 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001839/0.3005, allocations: 0.5293 MB / 0.5619 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.3013, allocations: 382.8 kB / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.3013, allocations: 0 / 0.5622 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.3013, allocations: 3.938 kB / 0.5622 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.188e-05/0.3014, allocations: 0 / 0.5622 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.3019, allocations: 147.3 kB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.302, allocations: 23.98 kB / 0.5624 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.302, allocations: 4 kB / 0.5624 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.302, allocations: 19.92 kB / 0.5624 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.3021, allocations: 23.92 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.3021, allocations: 0 / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.3023, allocations: 143.8 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.3024, allocations: 11.94 kB / 0.5626 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.3024, allocations: 15.91 kB / 0.5626 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.3026, allocations: 121.7 kB / 0.5627 GB, free: 2.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3026, allocations: 0 / 0.5627 GB, free: 2.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3026, allocations: 3.938 kB / 0.5627 GB, free: 2.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.3026, allocations: 0 / 0.5627 GB, free: 2.676 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.0003956/0.303, allocations: 294 kB / 0.563 GB, free: 2.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3031, allocations: 12.03 kB / 0.563 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.245e-05/0.3031, allocations: 12.12 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.3031, allocations: 38.73 kB / 0.5631 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.3031, allocations: 8.891 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.3032, allocations: 102.5 kB / 0.5632 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3033, allocations: 4.375 kB / 0.5632 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.3033, allocations: 8.375 kB / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3034, allocations: 69.48 kB / 0.5632 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3034, allocations: 7.984 kB / 0.5633 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3035, allocations: 4 kB / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3035, allocations: 0 / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.3035, allocations: 43.97 kB / 0.5633 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.3037, allocations: 148.6 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3039, allocations: 78.55 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.3039, allocations: 24.84 kB / 0.5635 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.3042, allocations: 27.97 kB / 0.5636 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3042, allocations: 42.44 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3042, allocations: 0 / 0.5636 GB, free: 1.641 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.1318/0.436, allocations: 5.615 MB / 0.5691 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.4361, allocations: 55.41 kB / 0.5691 GB, free: 11.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.4362, allocations: 101.8 kB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.4362, allocations: 25.7 kB / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.4363, allocations: 88.64 kB / 0.5694 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.4363, allocations: 79.33 kB / 0.5694 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4365, allocations: 61.67 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4366, allocations: 322.8 kB / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.4369, allocations: 107.9 kB / 0.5699 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.4373, allocations: 119.8 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.4388, allocations: 324.2 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4388, allocations: 0 / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001247/0.44, allocations: 361.2 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.44, allocations: 4 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.44, allocations: 0 / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.44, allocations: 4 kB / 0.5707 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.4404, allocations: 71.92 kB / 0.5707 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4404, allocations: 3.938 kB / 0.5707 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.4407, allocations: 35.89 kB / 0.5708 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.4407, allocations: 15.98 kB / 0.5708 GB, free: 10.19 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.000126/0.4408, allocations: 117.8 kB / 0.5709 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.4409, allocations: 7.953 kB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.4423, allocations: 436.7 kB / 0.5713 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4423, allocations: 3.984 kB / 0.5713 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4423, allocations: 4 kB / 0.5713 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.4424, allocations: 3.938 kB / 0.5713 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4447, allocations: 0.7317 MB / 0.5721 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4447, allocations: 4 kB / 0.5721 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.445, allocations: 79.86 kB / 0.5721 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.445, allocations: 4 kB / 0.5721 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.4451, allocations: 11.98 kB / 0.5722 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4451, allocations: 4.062 kB / 0.5722 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4451, allocations: 0 / 0.5722 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.4463, allocations: 424.8 kB / 0.5726 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.4463, allocations: 11.95 kB / 0.5726 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.4463, allocations: 4 kB / 0.5726 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.4465, allocations: 27.97 kB / 0.5726 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.4466, allocations: 15.91 kB / 0.5726 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.4466, allocations: 15.98 kB / 0.5726 GB, free: 8.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.4466, allocations: 79.28 kB / 0.5727 GB, free: 8.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4466, allocations: 0 / 0.5727 GB, free: 8.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001743/0.4484, allocations: 0.6284 MB / 0.5733 GB, free: 7.5 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.005068/0.4535, allocations: 1.143 MB / 0.5744 GB, free: 6.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008721/0.4543, allocations: 261.8 kB / 0.5747 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4543, allocations: 0 / 0.5747 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.4547, allocations: 127.8 kB / 0.5748 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4549, allocations: 14.97 kB / 0.5748 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.4569, allocations: 426.1 kB / 0.5752 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.457, allocations: 83.98 kB / 0.5753 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.4572, allocations: 77.08 kB / 0.5754 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.4574, allocations: 59.39 kB / 0.5754 GB, free: 5.23 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4574, allocations: 3.938 kB / 0.5754 GB, free: 5.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09228/0.5497, allocations: 55.5 MB / 0.6296 GB, free: 13.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.42, allocations: 11.86 kB / 0.6297 GB, free: 13.8 MB / 478.1 MB " [Timeout remaining time 647] (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.479176875087433]