Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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.001004/0.001004, allocations: 97.17 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008718/0.0008719, allocations: 180.8 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 241.8 MB, free: 372 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.22 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 11.98 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005463/0.1123, allocations: 214.9 kB / 471.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.114, allocations: 1.306 MB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.114, allocations: 0 / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.023e-05/0.114, allocations: 0 / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.024e-05/0.1141, allocations: 0 / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.1146, allocations: 151.1 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.794e-05/0.1147, allocations: 8 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.1147, allocations: 0 / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.1148, allocations: 0 / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1148, allocations: 11.98 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.1148, allocations: 3.938 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004237/0.1153, allocations: 247.7 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.1153, allocations: 3.984 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1153, allocations: 29.7 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1155, allocations: 79.83 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.1155, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1155, allocations: 8 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1155, allocations: 0 / 473.6 MB, free: 11.59 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.0003456/0.1159, allocations: 327.4 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1159, allocations: 8.031 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1159, allocations: 34.56 kB / 473.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.116, allocations: 4 kB / 473.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1161, allocations: 167 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1161, allocations: 4 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1161, allocations: 3.953 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.1162, allocations: 33.7 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.64e-06/0.1162, allocations: 3.938 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1162, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1163, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.1163, allocations: 4 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.1164, allocations: 157.6 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.1165, allocations: 22.55 kB / 474.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1165, allocations: 4 kB / 474.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1165, allocations: 34.52 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1165, allocations: 0 / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.1166, allocations: 41.66 kB / 474.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1167, allocations: 55.41 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.1168, allocations: 93.86 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1168, allocations: 25.7 kB / 474.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.1168, allocations: 88.39 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1169, allocations: 288 / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.1169, allocations: 0 / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.117, allocations: 318.8 kB / 475 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.117, allocations: 7.938 kB / 475 MB, free: 9.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.117, allocations: 0 / 475 MB, free: 9.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.514e-05/0.117, allocations: 4 kB / 475 MB, free: 9.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.117, allocations: 0 / 475 MB, free: 9.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.798e-05/0.1171, allocations: 29.77 kB / 475 MB, free: 9.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1171, allocations: 11.98 kB / 475 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1171, allocations: 4 kB / 475 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1171, allocations: 0 / 475 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.1172, allocations: 0 / 475 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.1172, allocations: 7.969 kB / 475 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.1172, allocations: 0 / 475 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1173, allocations: 4 kB / 475.1 MB, free: 9.898 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 8.494e-05/0.1174, allocations: 110.3 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.1174, allocations: 0 / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1175, allocations: 60.66 kB / 475.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1175, allocations: 0 / 475.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1175, allocations: 4 kB / 475.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1175, allocations: 0 / 475.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.173e-05/0.1176, allocations: 141.7 kB / 475.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.1176, allocations: 7.922 kB / 475.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1176, allocations: 4 kB / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1176, allocations: 4.031 kB / 475.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1176, allocations: 4 kB / 475.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1177, allocations: 3.953 kB / 475.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1177, allocations: 0 / 475.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.971e-05/0.1177, allocations: 60.98 kB / 475.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.1178, allocations: 81.09 kB / 475.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1178, allocations: 4 kB / 475.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.1179, allocations: 8.031 kB / 475.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1179, allocations: 7.891 kB / 475.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1179, allocations: 8 kB / 475.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.1179, allocations: 75.28 kB / 475.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1179, allocations: 0 / 475.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1182, allocations: 43.98 kB / 475.7 MB, free: 9.18 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.0004684/0.1187, allocations: 0.6282 MB / 476.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.674e-05/0.1188, allocations: 11.94 kB / 476.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1188, allocations: 0 / 476.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3e-05/0.1188, allocations: 29.7 kB / 476.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.598e-05/0.1189, allocations: 7.953 kB / 476.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.1192, allocations: 120.6 kB / 476.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1195, allocations: 0.6731 MB / 477.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.55e-05/0.1195, allocations: 4 kB / 477.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.1195, allocations: 11.44 kB / 477.1 MB, free: 7.594 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1195, allocations: 3.938 kB / 477.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.1314, allocations: 1.615 MB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.1317, allocations: 199.5 kB / 479 MB, free: 5.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.737, allocations: 0 / 479 MB, free: 5.84 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat