Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.002064/0.002064, allocations: 122 kB / 17.83 MB, free: 5.242 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.002131/0.002131, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 207.6 MB / 231.2 MB, free: 4.109 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3369/0.3369, allocations: 44.23 MB / 327.3 MB, free: 6.719 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.89 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2878, allocations: 61 MB / 0.5116 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001769/0.2896, allocations: 0.5514 MB / 0.5122 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007052/0.2903, allocations: 412.6 kB / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.2903, allocations: 0 / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.2903, allocations: 3.938 kB / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.225e-05/0.2904, allocations: 3.938 kB / 0.5126 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.2909, allocations: 128.8 kB / 0.5127 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.291, allocations: 31.83 kB / 0.5127 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.2911, allocations: 2.281 kB / 0.5127 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.271e-05/0.2911, allocations: 17.47 kB / 0.5127 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.2911, allocations: 17.67 kB / 0.5127 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2911, allocations: 5.031 kB / 0.5128 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.2914, allocations: 166.4 kB / 0.5129 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.2914, allocations: 7.938 kB / 0.5129 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.2915, allocations: 17.55 kB / 0.5129 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.2917, allocations: 127.9 kB / 0.5131 GB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2917, allocations: 0 / 0.5131 GB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2917, allocations: 0 / 0.5131 GB, free: 12.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.2917, allocations: 0 / 0.5131 GB, free: 12.15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003785/0.292, allocations: 374.5 kB / 0.5134 GB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2921, allocations: 13.58 kB / 0.5134 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.472e-05/0.2921, allocations: 1.312 kB / 0.5134 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.293e-05/0.2921, allocations: 31.78 kB / 0.5135 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.2922, allocations: 4.094 kB / 0.5135 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.869e-05/0.2922, allocations: 178.2 kB / 0.5136 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2923, allocations: 1.438 kB / 0.5136 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2923, allocations: 3.688 kB / 0.5136 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2924, allocations: 66.14 kB / 0.5137 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2924, allocations: 4.953 kB / 0.5137 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2924, allocations: 0.9688 kB / 0.5137 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2924, allocations: 0.9688 kB / 0.5137 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.787e-05/0.2925, allocations: 27.83 kB / 0.5137 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.2926, allocations: 171.3 kB / 0.5139 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.2929, allocations: 58.89 kB / 0.514 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.2929, allocations: 27.28 kB / 0.514 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.2932, allocations: 101.5 kB / 0.5141 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2932, allocations: 35.53 kB / 0.5141 GB, free: 11.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.2932, allocations: 1.062 kB / 0.5141 GB, free: 11.02 MB / 382.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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1372/0.4304, allocations: 6.387 MB / 0.5204 GB, free: 5.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.4305, allocations: 51.41 kB / 0.5204 GB, free: 5.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.299e-05/0.4305, allocations: 105.9 kB / 0.5205 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.4306, allocations: 33.69 kB / 0.5205 GB, free: 5.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.745e-05/0.4306, allocations: 80.14 kB / 0.5206 GB, free: 5.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.4306, allocations: 63.44 kB / 0.5207 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.4308, allocations: 89.59 kB / 0.5208 GB, free: 5.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.4308, allocations: 322.8 kB / 0.5211 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.4313, allocations: 231.8 kB / 0.5213 GB, free: 4.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.4318, allocations: 234.6 kB / 0.5215 GB, free: 4.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.4338, allocations: 0.5591 MB / 0.5221 GB, free: 4.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4338, allocations: 0 / 0.5221 GB, free: 4.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001658/0.4354, allocations: 0.606 MB / 0.5226 GB, free: 3.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4354, allocations: 4 kB / 0.5226 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4354, allocations: 3.984 kB / 0.5227 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4355, allocations: 4 kB / 0.5227 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.4361, allocations: 112 kB / 0.5228 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4361, allocations: 3.984 kB / 0.5228 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.4365, allocations: 23.97 kB / 0.5228 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.4366, allocations: 35.88 kB / 0.5228 GB, free: 3.246 MB / 382.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 (19): * Single equations (assignments): 19 * 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.0001201/0.4367, allocations: 117.8 kB / 0.5229 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.4368, allocations: 11.95 kB / 0.5229 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.4387, allocations: 0.724 MB / 0.5237 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4387, allocations: 3.938 kB / 0.5237 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4387, allocations: 0 / 0.5237 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4387, allocations: 15.92 kB / 0.5237 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.4423, allocations: 1.157 MB / 0.5248 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4423, allocations: 0 / 0.5248 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.4428, allocations: 104 kB / 0.5249 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.4428, allocations: 0 / 0.5249 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.4429, allocations: 31.95 kB / 0.5249 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4429, allocations: 0 / 0.5249 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4429, allocations: 4 kB / 0.5249 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.4444, allocations: 0.5821 MB / 0.5255 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.4444, allocations: 85.06 kB / 0.5256 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.4445, allocations: 4 kB / 0.5256 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.4449, allocations: 27.95 kB / 0.5256 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.4449, allocations: 12.45 kB / 0.5256 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.4449, allocations: 31.89 kB / 0.5257 GB, free: 196 kB / 382.1 MB Notification: Performance of sorting global known variables: time 2.365e-05/0.445, allocations: 83.28 kB / 0.5257 GB, free: 112 kB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.445, allocations: 8 kB / 0.5257 GB, free: 104 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00185/0.4468, allocations: 0.6441 MB / 0.5264 GB, free: 15.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.005799/0.4526, allocations: 1.314 MB / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.454, allocations: 445.7 kB / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.454, allocations: 0 / 0.5281 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.4546, allocations: 200.1 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.4549, allocations: 11.94 kB / 0.5283 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.4586, allocations: 0.6241 MB / 0.5289 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.459, allocations: 0.6965 MB / 0.5296 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004348/0.4595, allocations: 125.1 kB / 0.5297 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/0.4598, allocations: 99.27 kB / 0.5298 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 1.823e-06/0.4598, allocations: 4 kB / 0.5298 GB, free: 11.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09155/0.5514, allocations: 58.62 MB / 0.587 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.998/9.55, allocations: 3.938 kB / 0.587 GB, free: 0.9414 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.552502550010104]