Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001316, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008597/0.0008597, allocations: 90.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2382/0.2382, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.93e-05, allocations: 0 / 418.3 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 58.86 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4602/0.6047, allocations: 84.6 MB / 0.5486 GB, free: 9.043 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.605, allocations: 69.69 kB / 0.5487 GB, free: 9.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02367/0.6287, allocations: 8.191 MB / 0.5567 GB, free: 3.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6287, allocations: 0 / 0.5567 GB, free: 3.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.6287, allocations: 0 / 0.5567 GB, free: 3.07 MB / 362.7 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.0004311/0.6292, allocations: 346.2 kB / 0.557 GB, free: 2.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.6293, allocations: 11.97 kB / 0.557 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.6293, allocations: 8 kB / 0.5571 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.6294, allocations: 167 kB / 0.5572 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.6295, allocations: 0 / 0.5572 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6295, allocations: 3.984 kB / 0.5572 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.537e-05/0.6295, allocations: 3.984 kB / 0.5572 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.233e-05/0.6296, allocations: 29.7 kB / 0.5573 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.6296, allocations: 0 / 0.5573 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.6297, allocations: 0 / 0.5573 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.6297, allocations: 0 / 0.5573 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.6298, allocations: 142.2 kB / 0.5574 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.6299, allocations: 25.3 kB / 0.5574 GB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.6299, allocations: 4.859 kB / 0.5574 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.6299, allocations: 0 / 0.5574 GB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.63, allocations: 30.56 kB / 0.5574 GB, free: 2.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.63, allocations: 0 / 0.5574 GB, free: 2.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.6302, allocations: 33.7 kB / 0.5575 GB, free: 2.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.6302, allocations: 55.44 kB / 0.5575 GB, free: 2.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.463e-05/0.6303, allocations: 92.62 kB / 0.5576 GB, free: 1.973 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.6303, allocations: 25.7 kB / 0.5576 GB, free: 1.941 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.6303, allocations: 84.12 kB / 0.5577 GB, free: 1.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.6304, allocations: 0.625 kB / 0.5577 GB, free: 1.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.6304, allocations: 0 / 0.5577 GB, free: 1.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.6304, allocations: 310.8 kB / 0.558 GB, free: 1.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.6305, allocations: 7.938 kB / 0.558 GB, free: 1.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.6305, allocations: 4.125 kB / 0.558 GB, free: 1.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.6305, allocations: 7.375 kB / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6305, allocations: 0 / 0.558 GB, free: 1.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.292e-05/0.6306, allocations: 41.56 kB / 0.5581 GB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6306, allocations: 4 kB / 0.5581 GB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.6307, allocations: 3.984 kB / 0.5581 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6307, allocations: 0 / 0.5581 GB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-06/0.6307, allocations: 4 kB / 0.5581 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.6307, allocations: 0 / 0.5581 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.6308, allocations: 4.094 kB / 0.5581 GB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.6308, allocations: 3.938 kB / 0.5581 GB, free: 1.461 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.22e-05/0.6308, allocations: 101 kB / 0.5582 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.313e-05/0.6309, allocations: 41.59 kB / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.6309, allocations: 4 kB / 0.5582 GB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.6311, allocations: 45.25 kB / 0.5583 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6311, allocations: 4.062 kB / 0.5583 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6311, allocations: 0 / 0.5583 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6311, allocations: 3.938 kB / 0.5583 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.478e-05/0.6312, allocations: 130.2 kB / 0.5584 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6312, allocations: 3.953 kB / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.6312, allocations: 0 / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6312, allocations: 0 / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.6313, allocations: 0 / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6313, allocations: 0.7812 kB / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6313, allocations: 0 / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.694e-05/0.6314, allocations: 72.69 kB / 0.5585 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.6314, allocations: 81.06 kB / 0.5586 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.6314, allocations: 0 / 0.5586 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.6315, allocations: 4 kB / 0.5586 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.6315, allocations: 0 / 0.5586 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.6315, allocations: 0 / 0.5586 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.086e-05/0.6316, allocations: 79.27 kB / 0.5586 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6316, allocations: 8.125 kB / 0.5587 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.632, allocations: 43.94 kB / 0.5587 GB, free: 0.7656 MB / 362.7 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 () * 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.0005002/0.6325, allocations: 0.6459 MB / 0.5593 GB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.6326, allocations: 33.64 kB / 0.5594 GB, free: 60 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6326, allocations: 4.094 kB / 0.5594 GB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.6327, allocations: 25.7 kB / 0.5594 GB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.6328, allocations: 7.984 kB / 0.5594 GB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.6333, allocations: 102.7 kB / 0.5595 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.6336, allocations: 0.6729 MB / 0.5601 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.423e-05/0.6336, allocations: 4 kB / 0.5602 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.6337, allocations: 7.438 kB / 0.5602 GB, free: 15.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6337, allocations: 0 / 0.5602 GB, free: 15.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.6554, allocations: 1.134 MB / 0.5613 GB, free: 14.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/0.6558, allocations: 147.2 kB / 0.5614 GB, free: 13.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.142, allocations: 3.938 kB / 0.5614 GB, free: 13.84 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_Test01RegFun3.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat