Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008168/0.0008172, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008508/0.0008508, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 45.91 MB / 344.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002556, allocations: 11.98 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1017, allocations: 63.48 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005025/0.1023, allocations: 214.9 kB / 481.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1038, allocations: 1.376 MB / 483.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.1039, allocations: 0 / 483.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.789e-06/0.1039, allocations: 0 / 483.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.61e-05/0.1039, allocations: 0 / 483.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.1044, allocations: 151.2 kB / 483.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.696e-05/0.1045, allocations: 7.984 kB / 483.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1045, allocations: 7.984 kB / 483.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.1045, allocations: 3.938 kB / 483.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.007e-05/0.1046, allocations: 4 kB / 483.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.1046, allocations: 0 / 483.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.105, allocations: 263.6 kB / 483.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.105, allocations: 0 / 483.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.105, allocations: 33.64 kB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1051, allocations: 83.81 kB / 483.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1052, allocations: 4 kB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1052, allocations: 0 / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1052, allocations: 0 / 483.8 MB, free: 3.113 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003073/0.1055, allocations: 331.4 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1055, allocations: 12.03 kB / 484.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.1056, allocations: 30.56 kB / 484.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.1056, allocations: 0 / 484.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.1057, allocations: 167 kB / 484.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.1057, allocations: 0 / 484.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.1057, allocations: 8 kB / 484.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.017e-05/0.1058, allocations: 25.7 kB / 484.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1058, allocations: 4 kB / 484.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1058, allocations: 4 kB / 484.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1058, allocations: 0 / 484.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.1059, allocations: 7.875 kB / 484.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.106, allocations: 153.6 kB / 484.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.381e-05/0.106, allocations: 14.58 kB / 484.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.1061, allocations: 16.95 kB / 484.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.1061, allocations: 0 / 484.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1061, allocations: 30.56 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1061, allocations: 0 / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001129/0.1062, allocations: 49.52 kB / 484.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1063, allocations: 51.41 kB / 484.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.1063, allocations: 102 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1063, allocations: 25.7 kB / 484.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.1064, allocations: 80.14 kB / 484.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.1064, allocations: 288 / 484.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.1064, allocations: 0 / 484.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.1065, allocations: 322.7 kB / 485.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.1065, allocations: 4 kB / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.1065, allocations: 0 / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.198e-05/0.1065, allocations: 0 / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1066, allocations: 8.188 kB / 485.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.262e-05/0.1066, allocations: 37.64 kB / 485.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1066, allocations: 4 kB / 485.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1066, allocations: 4 kB / 485.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.1067, allocations: 0 / 485.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.1067, allocations: 0 / 485.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1067, allocations: 0 / 485.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.1067, allocations: 3.984 kB / 485.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1067, allocations: 4 kB / 485.2 MB, free: 1.418 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 (1): * Single equations (assignments): 1 * 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.382e-05/0.1068, allocations: 117.8 kB / 485.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-06/0.1068, allocations: 0 / 485.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1069, allocations: 44.81 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1069, allocations: 0 / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.107, allocations: 7.938 kB / 485.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.107, allocations: 0 / 485.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.116e-05/0.107, allocations: 145.6 kB / 485.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.1071, allocations: 8.016 kB / 485.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-06/0.1071, allocations: 4 kB / 485.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1071, allocations: 3.938 kB / 485.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1071, allocations: 4 kB / 485.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1071, allocations: 0 / 485.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1071, allocations: 0 / 485.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.68e-05/0.1072, allocations: 61.05 kB / 485.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.1072, allocations: 81.06 kB / 485.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1072, allocations: 8.016 kB / 485.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.1073, allocations: 4 kB / 485.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.1073, allocations: 0 / 485.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1073, allocations: 4 kB / 485.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.1074, allocations: 79.28 kB / 485.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1074, allocations: 0 / 485.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1076, allocations: 47.98 kB / 485.8 MB, free: 0.7109 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004376/0.1081, allocations: 0.6364 MB / 486.5 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.404e-05/0.1081, allocations: 8 kB / 486.5 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.1081, allocations: 0 / 486.5 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1082, allocations: 25.7 kB / 486.5 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.1083, allocations: 10.77 kB / 486.5 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.1087, allocations: 124.8 kB / 486.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1089, allocations: 0.677 MB / 487.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.664e-05/0.1089, allocations: 4 kB / 487.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.109, allocations: 7.438 kB / 487.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.109, allocations: 0 / 487.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.1199, allocations: 1.67 MB / 489 MB, free: 13.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/0.1201, allocations: 192.5 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.752, allocations: 0 / 489.2 MB, free: 13.32 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat