Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 100.4 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.3 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002633, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1253, allocations: 63.46 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0008606/0.1263, allocations: 254.8 kB / 481.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005508/0.1268, allocations: 150.2 kB / 481.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.1269, allocations: 4 kB / 481.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.127, allocations: 0 / 481.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1273, allocations: 27.91 kB / 481.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.286e-06/0.1273, allocations: 0 / 481.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.1274, allocations: 11.92 kB / 482 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.1274, allocations: 3.984 kB / 482 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.1274, allocations: 7.984 kB / 482 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.771e-05/0.1275, allocations: 15.92 kB / 482 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1275, allocations: 0 / 482 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1277, allocations: 47.89 kB / 482 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1277, allocations: 7.984 kB / 482 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1277, allocations: 33.64 kB / 482.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.748e-05/0.1278, allocations: 31.95 kB / 482.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1278, allocations: 0 / 482.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1279, allocations: 0 / 482.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1279, allocations: 0 / 482.1 MB, free: 4.707 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002958/0.1282, allocations: 331.6 kB / 482.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.1282, allocations: 12.03 kB / 482.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.1283, allocations: 38.55 kB / 482.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1283, allocations: 3.906 kB / 482.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1285, allocations: 171 kB / 482.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1285, allocations: 0 / 482.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1285, allocations: 15.92 kB / 482.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1287, allocations: 53.67 kB / 482.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1287, allocations: 4 kB / 482.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1287, allocations: 0 / 482.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1287, allocations: 0 / 482.7 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.1288, allocations: 51.95 kB / 482.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.1291, allocations: 177.6 kB / 482.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1292, allocations: 82.55 kB / 483 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.1296, allocations: 251.3 kB / 483.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1296, allocations: 38.56 kB / 483.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1297, allocations: 0 / 483.3 MB, free: 3.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002495/0.1299, allocations: 105.8 kB / 483.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.13, allocations: 55.34 kB / 483.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.13, allocations: 93.86 kB / 483.6 MB, free: 3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1301, allocations: 29.7 kB / 483.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1301, allocations: 84.14 kB / 483.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.1302, allocations: 31.55 kB / 483.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.1302, allocations: 0 / 483.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1303, allocations: 318.8 kB / 484 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.1303, allocations: 20.3 kB / 484 MB, free: 2.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.1304, allocations: 19.94 kB / 484 MB, free: 2.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.1304, allocations: 28.11 kB / 484.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1304, allocations: 0 / 484.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.1306, allocations: 81.62 kB / 484.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1306, allocations: 4 kB / 484.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1306, allocations: 0 / 484.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1306, allocations: 4 kB / 484.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1307, allocations: 12 kB / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.1307, allocations: 0 / 484.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.1308, allocations: 11.83 kB / 484.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1308, allocations: 8 kB / 484.2 MB, free: 2.336 MB / 350.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 (10): * Single equations (assignments): 10 * 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 8.08e-05/0.1309, allocations: 117.8 kB / 484.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.1309, allocations: 0 / 484.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.1311, allocations: 101.5 kB / 484.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1311, allocations: 4 kB / 484.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1311, allocations: 0 / 484.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1311, allocations: 0 / 484.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1312, allocations: 181.5 kB / 484.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1312, allocations: 0 / 484.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.1313, allocations: 12 kB / 484.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1313, allocations: 4 kB / 484.6 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1313, allocations: 11.98 kB / 484.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1313, allocations: 384 / 484.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1313, allocations: 0 / 484.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1315, allocations: 109 kB / 484.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.1315, allocations: 92.91 kB / 484.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1316, allocations: 7.984 kB / 484.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.1316, allocations: 4 kB / 484.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.1316, allocations: 11.94 kB / 484.8 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1316, allocations: 4 kB / 484.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.1317, allocations: 75.28 kB / 484.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 0 / 484.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.1319, allocations: 19.98 kB / 484.9 MB, free: 1.496 MB / 350.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 (10): * Single equations (assignments): 10 * 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.0004153/0.1323, allocations: 0.6481 MB / 485.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1324, allocations: 55.92 kB / 485.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1324, allocations: 0 / 485.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.1324, allocations: 31.92 kB / 485.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.737e-05/0.1326, allocations: 6.578 kB / 485.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.133, allocations: 188.9 kB / 485.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1333, allocations: 0.6878 MB / 486.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.1333, allocations: 4 kB / 486.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.1333, allocations: 15.44 kB / 486.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1333, allocations: 0 / 486.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.1458, allocations: 1.329 MB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.1461, allocations: 182.8 kB / 488.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.883, allocations: 0 / 488.1 MB, free: 14.33 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat