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.001045/0.001045, allocations: 100.2 kB / 17 MB, free: 6.418 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.001227/0.001228, allocations: 191 kB / 17.89 MB, free: 5.945 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.375/1.375, allocations: 223.2 MB / 241.9 MB, free: 268 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.1872/0.1872, allocations: 44.22 MB / 337.2 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8.75 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005744/0.1202, allocations: 214.9 kB / 471.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1218, allocations: 1.313 MB / 473.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.83e-05/0.1219, allocations: 0 / 473.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.147e-06/0.1219, allocations: 0 / 473.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.479e-05/0.1219, allocations: 0 / 473.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.1224, allocations: 158.7 kB / 473.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.698e-05/0.1225, allocations: 7.984 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.1225, allocations: 7.938 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.1226, allocations: 3.938 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.1226, allocations: 8 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1226, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.123, allocations: 255.7 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.123, allocations: 11.91 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.1231, allocations: 25.7 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1232, allocations: 83.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1232, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1232, allocations: 0 / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1233, allocations: 0 / 473.7 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.0003094/0.1236, allocations: 331.4 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1236, allocations: 12.03 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1237, allocations: 30.56 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1237, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1238, allocations: 163.1 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1238, allocations: 3.984 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.1238, allocations: 7.953 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.218e-05/0.1239, allocations: 25.7 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.1239, allocations: 0 / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1239, allocations: 4 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.124, allocations: 4 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.124, allocations: 7.875 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1241, allocations: 153.7 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.1242, allocations: 14.58 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.1242, allocations: 12.95 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.1242, allocations: 3.953 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1242, allocations: 34.56 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1242, allocations: 0 / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.1244, allocations: 49.53 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1244, allocations: 51.41 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.1245, allocations: 93.86 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1245, allocations: 25.7 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.1245, allocations: 80.14 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1245, allocations: 4.219 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-06/0.1245, allocations: 4.25 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1247, allocations: 314.8 kB / 475.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1247, allocations: 4 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-06/0.1247, allocations: 3.984 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.348e-05/0.1247, allocations: 0 / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1247, allocations: 0 / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.818e-05/0.1248, allocations: 37.64 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1248, allocations: 7.953 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1248, allocations: 96 / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1248, allocations: 8 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.314e-05/0.1249, allocations: 0 / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1249, allocations: 0 / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.1249, allocations: 0 / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1249, allocations: 4 kB / 475.2 MB, free: 9.895 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.782e-05/0.125, allocations: 114.3 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.125, allocations: 0 / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.1251, allocations: 56.67 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1252, allocations: 3.984 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1252, allocations: 0 / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1252, allocations: 4 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.027e-05/0.1253, allocations: 141.7 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.1253, allocations: 8 kB / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1253, allocations: 0 / 475.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1253, allocations: 4 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1253, allocations: 3.984 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1253, allocations: 7.984 kB / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1253, allocations: 0 / 475.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.679e-05/0.1254, allocations: 57.05 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.1254, allocations: 77.11 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1254, allocations: 3.938 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.1255, allocations: 7.984 kB / 475.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.1255, allocations: 3.953 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1256, allocations: 8.031 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.1256, allocations: 79.28 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1256, allocations: 3.938 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1259, allocations: 39.94 kB / 475.8 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.0004813/0.1263, allocations: 0.6321 MB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.954e-05/0.1264, allocations: 8 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1264, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.1265, allocations: 33.64 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.1266, allocations: 3.953 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.127, allocations: 124.4 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1272, allocations: 0.677 MB / 477.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.1272, allocations: 4.125 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.1273, allocations: 11.44 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1273, allocations: 0 / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01083/0.1381, allocations: 1.638 MB / 478.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.1383, allocations: 195.5 kB / 479.1 MB, free: 5.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.767, allocations: 4 kB / 479.1 MB, free: 5.824 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