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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 175.2 kB / 16.58 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 222.7 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3049/0.3049, allocations: 43.54 MB / 314.6 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005205, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006095/0.1161, allocations: 276.3 kB / 443.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006816/0.1168, allocations: 370.7 kB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.1168, allocations: 4 kB / 443.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1169, allocations: 3.938 kB / 443.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.1169, allocations: 0 / 443.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.1173, allocations: 107.8 kB / 443.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.1174, allocations: 23.92 kB / 443.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1174, allocations: 0 / 443.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.1175, allocations: 19.92 kB / 443.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.224e-05/0.1175, allocations: 19.91 kB / 443.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1175, allocations: 0 / 443.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1178, allocations: 143.8 kB / 443.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1178, allocations: 15.91 kB / 443.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1178, allocations: 29.7 kB / 443.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.118, allocations: 80.11 kB / 443.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.118, allocations: 0 / 443.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.118, allocations: 4 kB / 443.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.284e-06/0.118, allocations: 0 / 443.9 MB, free: 12.12 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.0003249/0.1183, allocations: 355.3 kB / 444.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1184, allocations: 12.02 kB / 444.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.1184, allocations: 38.56 kB / 444.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.1185, allocations: 7.859 kB / 444.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1186, allocations: 174.9 kB / 444.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1186, allocations: 0 / 444.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1186, allocations: 8 kB / 444.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1187, allocations: 53.67 kB / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1188, allocations: 3.938 kB / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1188, allocations: 4 kB / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1188, allocations: 4 kB / 444.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.1189, allocations: 27.94 kB / 444.6 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.119, allocations: 173.5 kB / 444.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1192, allocations: 50.56 kB / 444.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.731e-05/0.1193, allocations: 32.84 kB / 444.9 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.1196, allocations: 117.1 kB / 445 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1196, allocations: 30.84 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1196, allocations: 4 kB / 445 MB, free: 10.86 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.1128/0.2325, allocations: 6.617 MB / 451.6 MB, free: 4.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.2326, allocations: 59.33 kB / 451.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/0.2326, allocations: 101.9 kB / 451.8 MB, free: 4.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.2327, allocations: 25.7 kB / 451.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2327, allocations: 84.14 kB / 451.9 MB, free: 3.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.2328, allocations: 67 kB / 452 MB, free: 3.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.2329, allocations: 0 / 452 MB, free: 3.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.233, allocations: 326.8 kB / 452.3 MB, free: 3.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.2335, allocations: 239.8 kB / 452.5 MB, free: 3.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/0.234, allocations: 243.8 kB / 452.8 MB, free: 3.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.2349, allocations: 303.1 kB / 453 MB, free: 2.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2349, allocations: 0 / 453 MB, free: 2.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001709/0.2367, allocations: 0.6301 MB / 453.7 MB, free: 2.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.2367, allocations: 11.98 kB / 453.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2367, allocations: 0 / 453.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.2367, allocations: 0 / 453.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/0.2373, allocations: 123.7 kB / 453.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2374, allocations: 480 / 453.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.2377, allocations: 31.97 kB / 453.8 MB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.2378, allocations: 31.94 kB / 453.9 MB, free: 1.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.238, allocations: 129.8 kB / 454 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.238, allocations: 7.906 kB / 454 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.2402, allocations: 0.7672 MB / 454.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2402, allocations: 0 / 454.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2402, allocations: 0 / 454.8 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2402, allocations: 11.98 kB / 454.8 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2151/0.4553, allocations: 1.213 MB / 456 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4553, allocations: 0 / 456 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.4558, allocations: 110.2 kB / 456.1 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.4558, allocations: 3.906 kB / 456.1 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.4559, allocations: 27.36 kB / 456.1 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4559, allocations: 4.188 kB / 456.1 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4559, allocations: 9.344 kB / 456.2 MB, free: 45.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.4573, allocations: 0.6076 MB / 456.8 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.4573, allocations: 84.27 kB / 456.8 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.4574, allocations: 7.391 kB / 456.8 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.4578, allocations: 31.14 kB / 456.9 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.4578, allocations: 27.73 kB / 456.9 MB, free: 44.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.4579, allocations: 26.45 kB / 456.9 MB, free: 44.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.915e-05/0.4579, allocations: 79.66 kB / 457 MB, free: 44.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4579, allocations: 5.453 kB / 457 MB, free: 44.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001639/0.4595, allocations: 0.6441 MB / 457.7 MB, free: 44.73 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004137/0.4637, allocations: 1.351 MB / 459 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009994/0.4647, allocations: 486 kB / 459.5 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4647, allocations: 0 / 459.5 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.4651, allocations: 215.1 kB / 459.7 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.4654, allocations: 9.312 kB / 459.7 MB, free: 44.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.468, allocations: 0.6887 MB / 460.4 MB, free: 43.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4682, allocations: 0.693 MB / 461.1 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.4687, allocations: 127.2 kB / 461.2 MB, free: 43.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.469, allocations: 96.05 kB / 461.3 MB, free: 43.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.469, allocations: 0 / 461.3 MB, free: 43.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08067/0.5497, allocations: 57.9 MB / 0.507 GB, free: 14.32 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.5499, allocations: 195.9 kB / 0.5072 GB, free: 14.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.652, allocations: 0 / 0.5072 GB, free: 14.08 MB / 382.1 MB (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/linux/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 --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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat