Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 123.6 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 209.7 kB / 21.41 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 251.7 MB, free: 80 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2382/0.2382, allocations: 46.14 MB / 351.1 MB, free: 14.32 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 81.81 kB / 489.6 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1299, allocations: 62.44 MB / 0.5392 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00162/0.1315, allocations: 0.5299 MB / 0.5397 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.1323, allocations: 375.1 kB / 0.54 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.938e-05/0.1323, allocations: 0 / 0.54 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.1324, allocations: 3.938 kB / 0.54 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.1324, allocations: 0 / 0.54 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1328, allocations: 111.5 kB / 0.5401 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.1329, allocations: 31.84 kB / 0.5402 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.217e-05/0.1329, allocations: 7.938 kB / 0.5402 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.291e-05/0.1329, allocations: 12 kB / 0.5402 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.133, allocations: 19.8 kB / 0.5402 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.133, allocations: 0 / 0.5402 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.1333, allocations: 119.9 kB / 0.5403 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.1333, allocations: 8 kB / 0.5403 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1333, allocations: 19.86 kB / 0.5403 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.1335, allocations: 95.73 kB / 0.5404 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1335, allocations: 0 / 0.5404 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1335, allocations: 0 / 0.5404 GB, free: 3.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1335, allocations: 4 kB / 0.5404 GB, free: 3.473 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.0004392/0.134, allocations: 363.1 kB / 0.5408 GB, free: 3.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.134, allocations: 12.03 kB / 0.5408 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.1341, allocations: 34.75 kB / 0.5408 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.1341, allocations: 4.938 kB / 0.5408 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1343, allocations: 168.3 kB / 0.541 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1343, allocations: 8.375 kB / 0.541 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.1343, allocations: 8.359 kB / 0.541 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1344, allocations: 50.19 kB / 0.5411 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1345, allocations: 7.938 kB / 0.5411 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1345, allocations: 4 kB / 0.5411 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1345, allocations: 0 / 0.5411 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.1345, allocations: 23.98 kB / 0.5411 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.1348, allocations: 169.7 kB / 0.5413 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.135, allocations: 66.52 kB / 0.5413 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.1351, allocations: 24.86 kB / 0.5413 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.1353, allocations: 109 kB / 0.5414 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1353, allocations: 34.56 kB / 0.5415 GB, free: 2.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.065e-06/0.1354, allocations: 3.984 kB / 0.5415 GB, free: 2.211 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.04077/0.1761, allocations: 2.58 MB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1762, allocations: 55.41 kB / 0.5441 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.1763, allocations: 105.8 kB / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.1764, allocations: 29.7 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1764, allocations: 83.89 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.1765, allocations: 67.42 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.1766, allocations: 65.61 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1768, allocations: 322.8 kB / 0.5447 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.1772, allocations: 171.9 kB / 0.5449 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.1776, allocations: 182.6 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.1787, allocations: 412.7 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1788, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001198/0.18, allocations: 463.6 kB / 0.5459 GB, free: 13.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.18, allocations: 4 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.18, allocations: 8 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.18, allocations: 0 / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.1804, allocations: 75.88 kB / 0.546 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1804, allocations: 480 / 0.546 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1806, allocations: 15.97 kB / 0.546 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.1807, allocations: 19.98 kB / 0.546 GB, free: 13.51 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 (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.0001283/0.1808, allocations: 125.8 kB / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.1809, allocations: 11.89 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.1822, allocations: 0.5331 MB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1822, allocations: 3.984 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1822, allocations: 8 kB / 0.5467 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1822, allocations: 0 / 0.5467 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.1843, allocations: 0.8815 MB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1843, allocations: 4 kB / 0.5475 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.1846, allocations: 72.06 kB / 0.5476 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1846, allocations: 4 kB / 0.5476 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.1847, allocations: 16 kB / 0.5476 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1847, allocations: 0 / 0.5476 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.1847, allocations: 7.984 kB / 0.5476 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.1856, allocations: 457 kB / 0.5481 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.1857, allocations: 93.05 kB / 0.5481 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.1858, allocations: 8 kB / 0.5481 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.186, allocations: 15.98 kB / 0.5482 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.186, allocations: 15.92 kB / 0.5482 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.186, allocations: 19.98 kB / 0.5482 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.1861, allocations: 87.27 kB / 0.5483 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1861, allocations: 0 / 0.5483 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008768/0.187, allocations: 319.5 kB / 0.5486 GB, free: 10.7 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.002495/0.1895, allocations: 1.118 MB / 0.5497 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.1904, allocations: 343.7 kB / 0.55 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1904, allocations: 0 / 0.55 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.1908, allocations: 152.1 kB / 0.5502 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.191, allocations: 12 kB / 0.5502 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1928, allocations: 0.4916 MB / 0.5506 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1931, allocations: 0.6926 MB / 0.5513 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.1934, allocations: 92.88 kB / 0.5514 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.1937, allocations: 67.39 kB / 0.5515 GB, free: 7.613 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1937, allocations: 0 / 0.5515 GB, free: 7.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04603/0.2397, allocations: 18.98 MB / 0.57 GB, free: 4.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.285, allocations: 6.875 kB / 0.57 GB, free: 4.738 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.466146621038206] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd'] 8.357203414081596 8.371072141 8.234951771 Calling exit ...