Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001477/0.001477, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001806/0.001806, allocations: 225.1 kB / 23.01 MB, free: 5.039 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.453/1.453, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.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.2235/0.2235, allocations: 44.24 MB / 330.3 MB, free: 9.609 MB / 270.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.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",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.002224/0.002224, allocations: 63.91 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1288, allocations: 61.05 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.002386/0.1312, allocations: 0.5376 MB / 0.5167 GB, free: 6.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1322, allocations: 378.9 kB / 0.517 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.1323, allocations: 4 kB / 0.517 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.1323, allocations: 7.938 kB / 0.517 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.847e-05/0.1323, allocations: 3.938 kB / 0.517 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.1329, allocations: 99.59 kB / 0.5171 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.133, allocations: 31.91 kB / 0.5172 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.133, allocations: 7.984 kB / 0.5172 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1331, allocations: 11.92 kB / 0.5172 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.1331, allocations: 19.92 kB / 0.5172 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1331, allocations: 0 / 0.5172 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.1335, allocations: 123.9 kB / 0.5173 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.1335, allocations: 3.984 kB / 0.5173 GB, free: 6.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.1335, allocations: 19.86 kB / 0.5174 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1337, allocations: 95.69 kB / 0.5174 GB, free: 6.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1338, allocations: 3.984 kB / 0.5174 GB, free: 6.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1338, allocations: 0 / 0.5174 GB, free: 6.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1338, allocations: 0 / 0.5174 GB, free: 6.016 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004945/0.1343, allocations: 286 kB / 0.5177 GB, free: 5.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1343, allocations: 8.031 kB / 0.5177 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.1343, allocations: 46.73 kB / 0.5178 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.1344, allocations: 0.9375 kB / 0.5178 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1345, allocations: 122.4 kB / 0.5179 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1345, allocations: 8.375 kB / 0.5179 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1346, allocations: 384 / 0.5179 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1347, allocations: 56.02 kB / 0.518 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1347, allocations: 7.938 kB / 0.518 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1348, allocations: 0 / 0.518 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1348, allocations: 0 / 0.518 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.1349, allocations: 27.92 kB / 0.518 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.1351, allocations: 148.7 kB / 0.5181 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.1354, allocations: 50.5 kB / 0.5182 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/0.1354, allocations: 20.84 kB / 0.5182 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.1357, allocations: 32.25 kB / 0.5182 GB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.1358, allocations: 38.5 kB / 0.5183 GB, free: 5.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1358, allocations: 0 / 0.5183 GB, free: 5.047 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: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.04167/0.1774, allocations: 2.576 MB / 0.5208 GB, free: 2.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1775, allocations: 51.41 kB / 0.5208 GB, free: 2.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.1776, allocations: 105.9 kB / 0.5209 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.1776, allocations: 33.64 kB / 0.521 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.1777, allocations: 80.61 kB / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.1778, allocations: 67.42 kB / 0.5211 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1779, allocations: 53.69 kB / 0.5212 GB, free: 2.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.178, allocations: 330.8 kB / 0.5215 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.1784, allocations: 171.9 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.1788, allocations: 187.2 kB / 0.5218 GB, free: 1.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1798, allocations: 416.7 kB / 0.5222 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1798, allocations: 0 / 0.5222 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001019/0.1808, allocations: 461.3 kB / 0.5226 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1808, allocations: 8 kB / 0.5227 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1808, allocations: 0 / 0.5227 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1809, allocations: 0 / 0.5227 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.1812, allocations: 67.94 kB / 0.5227 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1812, allocations: 0 / 0.5227 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1814, allocations: 23.98 kB / 0.5227 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.1815, allocations: 15.98 kB / 0.5228 GB, free: 360 kB / 398.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.0001365/0.1816, allocations: 125.7 kB / 0.5229 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.1816, allocations: 7.953 kB / 0.5229 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1829, allocations: 0.5363 MB / 0.5234 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1829, allocations: 8 kB / 0.5234 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1829, allocations: 0 / 0.5234 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1829, allocations: 0 / 0.5234 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.185, allocations: 0.8572 MB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.185, allocations: 4 kB / 0.5243 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.1853, allocations: 63.94 kB / 0.5243 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1853, allocations: 4 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.1853, allocations: 16 kB / 0.5243 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.1853, allocations: 7.922 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1853, allocations: 4 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.1863, allocations: 464.4 kB / 0.5248 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.1863, allocations: 11.95 kB / 0.5248 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.1863, allocations: 12.12 kB / 0.5248 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1865, allocations: 15.98 kB / 0.5248 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.1865, allocations: 19.97 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.1866, allocations: 19.98 kB / 0.5249 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.1866, allocations: 83.28 kB / 0.5249 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1866, allocations: 0 / 0.5249 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000855/0.1875, allocations: 323.5 kB / 0.5253 GB, free: 13.67 MB / 414.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.002424/0.1899, allocations: 1.111 MB / 0.5263 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.1907, allocations: 331.6 kB / 0.5267 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1907, allocations: 0 / 0.5267 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.191, allocations: 144.1 kB / 0.5268 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1913, allocations: 15.38 kB / 0.5268 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.193, allocations: 499.7 kB / 0.5273 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1933, allocations: 0.7043 MB / 0.528 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002731/0.1936, allocations: 88.98 kB / 0.5281 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.1938, allocations: 63.39 kB / 0.5281 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1938, allocations: 0 / 0.5281 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.4504, allocations: 19.23 MB / 0.5469 GB, free: 24.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.24, allocations: 10.83 kB / 0.5469 GB, free: 24.57 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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: 14.1182583370246]