Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.001217/0.001217, allocations: 96.98 kB / 15.69 MB, free: 488 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.001674/0.001673, allocations: 174.4 kB / 16.56 MB, free: 6.379 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.56/1.56, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3781/0.3781, allocations: 43.55 MB / 314.5 MB, free: 8.719 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.0005177/0.0005178, allocations: 16 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.86 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005473/0.1231, allocations: 236.4 kB / 443.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.1233, allocations: 92.11 kB / 443.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.1234, allocations: 3.938 kB / 443.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-06/0.1234, allocations: 0 / 443.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.166e-05/0.1234, allocations: 0 / 443.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1236, allocations: 7.984 kB / 443.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.1236, allocations: 15.92 kB / 443.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.1237, allocations: 3.984 kB / 443.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.1237, allocations: 8 kB / 443.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.1238, allocations: 7.984 kB / 443.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1238, allocations: 0 / 443.2 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.1238, allocations: 27.97 kB / 443.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.1239, allocations: 3.938 kB / 443.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.1239, allocations: 29.7 kB / 443.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.76e-05/0.124, allocations: 11.98 kB / 443.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.124, allocations: 0 / 443.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.124, allocations: 0 / 443.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.124, allocations: 0 / 443.3 MB, free: 12.53 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003215/0.1243, allocations: 327.6 kB / 443.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1243, allocations: 8.031 kB / 443.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.1244, allocations: 42.55 kB / 443.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.1244, allocations: 3.953 kB / 443.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.1245, allocations: 167 kB / 443.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1245, allocations: 0 / 443.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1246, allocations: 4 kB / 443.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1247, allocations: 59.34 kB / 443.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1247, allocations: 0 / 443.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1247, allocations: 4 kB / 443.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1247, allocations: 3.938 kB / 443.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.105e-05/0.1248, allocations: 11.98 kB / 443.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1251, allocations: 333 kB / 444.2 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.576e-05/0.1251, allocations: 22.58 kB / 444.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1251, allocations: 4 kB / 444.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1252, allocations: 30.56 kB / 444.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1252, allocations: 0 / 444.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000173/0.1253, allocations: 69.59 kB / 444.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1254, allocations: 59.36 kB / 444.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.1254, allocations: 89.86 kB / 444.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1255, allocations: 25.7 kB / 444.5 MB, free: 11.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.1255, allocations: 84.27 kB / 444.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.1255, allocations: 15.81 kB / 444.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.1255, allocations: 0 / 444.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1257, allocations: 314.8 kB / 444.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.1257, allocations: 8 kB / 444.9 MB, free: 10.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.1257, allocations: 21.72 kB / 445 MB, free: 10.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.1257, allocations: 7.984 kB / 445 MB, free: 10.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1258, allocations: 0 / 445 MB, free: 10.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.36e-05/0.1259, allocations: 61.62 kB / 445 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1259, allocations: 4 kB / 445 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1259, allocations: 0 / 445 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1259, allocations: 4 kB / 445 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.126, allocations: 4 kB / 445 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.126, allocations: 4 kB / 445 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.126, allocations: 7.891 kB / 445.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.126, allocations: 0 / 445.1 MB, free: 10.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 6.933e-05/0.1261, allocations: 121.9 kB / 445.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1261, allocations: 0 / 445.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.1263, allocations: 72.95 kB / 445.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1263, allocations: 0 / 445.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1263, allocations: 0 / 445.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1263, allocations: 0 / 445.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1264, allocations: 161.6 kB / 445.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1264, allocations: 0 / 445.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.1265, allocations: 8 kB / 445.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1265, allocations: 0 / 445.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1265, allocations: 4 kB / 445.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1265, allocations: 4 kB / 445.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1265, allocations: 0 / 445.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.1267, allocations: 155.6 kB / 445.6 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.1267, allocations: 77.11 kB / 445.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1267, allocations: 7.938 kB / 445.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.1268, allocations: 7.984 kB / 445.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.1268, allocations: 0 / 445.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1268, allocations: 8 kB / 445.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.888e-05/0.1269, allocations: 75.28 kB / 445.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 0 / 445.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000215/0.1271, allocations: 4 kB / 445.7 MB, free: 9.727 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0003834/0.1275, allocations: 0.6889 MB / 446.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.466e-05/0.1276, allocations: 28.08 kB / 446.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1276, allocations: 0 / 446.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.1276, allocations: 15.94 kB / 446.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.1278, allocations: 7.984 kB / 446.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.1281, allocations: 148.3 kB / 446.6 MB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1284, allocations: 0.6809 MB / 447.3 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.324e-05/0.1284, allocations: 4.062 kB / 447.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1285, allocations: 15.44 kB / 447.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1285, allocations: 0 / 447.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.1393, allocations: 1.061 MB / 448.4 MB, free: 7.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.1395, allocations: 184.3 kB / 448.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/1.745, allocations: 4.062 kB / 448.6 MB, free: 6.781 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat