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.0008501/0.0008501, allocations: 97.17 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000893/0.0008931, allocations: 195.1 kB / 17.9 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0006511/0.1178, allocations: 246.9 kB / 481.9 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.1182, allocations: 154.3 kB / 482 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.1182, allocations: 3.938 kB / 482 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.1183, allocations: 3.938 kB / 482 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1185, allocations: 23.91 kB / 482.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.1185, allocations: 0 / 482.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.1185, allocations: 19.92 kB / 482.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.1186, allocations: 0 / 482.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.1186, allocations: 7.938 kB / 482.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.1187, allocations: 23.91 kB / 482.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1187, allocations: 0 / 482.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1189, allocations: 47.95 kB / 482.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.1189, allocations: 7.984 kB / 482.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1189, allocations: 33.64 kB / 482.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.716e-05/0.119, allocations: 23.95 kB / 482.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.119, allocations: 0 / 482.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.119, allocations: 7.938 kB / 482.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.119, allocations: 0 / 482.2 MB, free: 4.637 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.0002893/0.1193, allocations: 331.6 kB / 482.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.1194, allocations: 12.03 kB / 482.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1194, allocations: 34.56 kB / 482.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1195, allocations: 11.89 kB / 482.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.1196, allocations: 167 kB / 482.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1196, allocations: 4 kB / 482.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1197, allocations: 4 kB / 482.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1198, allocations: 57.62 kB / 482.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1198, allocations: 0 / 482.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1198, allocations: 3.984 kB / 482.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1199, allocations: 0 / 482.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.12, allocations: 63.89 kB / 482.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.1202, allocations: 165.6 kB / 483.1 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1203, allocations: 82.58 kB / 483.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.1204, allocations: 28.86 kB / 483.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003561/0.1207, allocations: 255.3 kB / 483.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.1208, allocations: 38.56 kB / 483.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.1208, allocations: 0 / 483.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002417/0.121, allocations: 105.7 kB / 483.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1211, allocations: 51.41 kB / 483.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.1212, allocations: 89.86 kB / 483.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1212, allocations: 29.7 kB / 483.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1212, allocations: 84.52 kB / 483.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.1213, allocations: 31.55 kB / 483.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1213, allocations: 4.125 kB / 483.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1214, allocations: 318.8 kB / 484.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.555e-05/0.1215, allocations: 23.86 kB / 484.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.1215, allocations: 19.98 kB / 484.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.923e-05/0.1216, allocations: 20 kB / 484.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1216, allocations: 0 / 484.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.1217, allocations: 81.62 kB / 484.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1217, allocations: 4 kB / 484.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.1217, allocations: 7.984 kB / 484.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1217, allocations: 4 kB / 484.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.1218, allocations: 15.98 kB / 484.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1219, allocations: 0 / 484.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.1219, allocations: 15.84 kB / 484.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1219, allocations: 0 / 484.3 MB, free: 2.234 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.862e-05/0.122, allocations: 121.7 kB / 484.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.122, allocations: 0 / 484.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.1222, allocations: 101.5 kB / 484.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1222, allocations: 7.984 kB / 484.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1222, allocations: 3.938 kB / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1222, allocations: 0 / 484.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1224, allocations: 173.6 kB / 484.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1224, allocations: 384 / 484.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.1224, allocations: 15.98 kB / 484.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1225, allocations: 3.938 kB / 484.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1225, allocations: 8 kB / 484.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1225, allocations: 3.938 kB / 484.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1225, allocations: 0 / 484.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1226, allocations: 113 kB / 484.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1227, allocations: 88.91 kB / 485 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1227, allocations: 4 kB / 485 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.1227, allocations: 0 / 485 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.1227, allocations: 4 kB / 485 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1228, allocations: 7.984 kB / 485 MB, free: 1.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.1228, allocations: 79.28 kB / 485.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 96 / 485.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.123, allocations: 16 kB / 485.1 MB, free: 1.398 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.0004434/0.1235, allocations: 0.6519 MB / 485.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.1236, allocations: 55.92 kB / 485.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1236, allocations: 0 / 485.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.1237, allocations: 35.92 kB / 485.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.1238, allocations: 8.562 kB / 485.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.1242, allocations: 180.3 kB / 486 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1246, allocations: 0.6848 MB / 486.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.1246, allocations: 7.938 kB / 486.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1246, allocations: 19.44 kB / 486.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1246, allocations: 0 / 486.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.1352, allocations: 1.334 MB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.1354, allocations: 198.8 kB / 488.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.779, allocations: 0 / 488.2 MB, free: 14.21 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