Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.00119/0.00119, allocations: 177.6 kB / 8.002 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.838/1.838, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.000813/0.0008129, allocations: 90.56 kB / 261.7 MB, free: 1.684 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.2433/0.2433, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.901e-05/1.903e-05, allocations: 4 kB / 418.3 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 58.85 MB / 477.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.6032, allocations: 83.35 MB / 0.5474 GB, free: 8.684 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.6035, allocations: 71.47 kB / 0.5475 GB, free: 8.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00262/0.6062, allocations: 0.8943 MB / 0.5484 GB, free: 8.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6062, allocations: 0 / 0.5484 GB, free: 8.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.6062, allocations: 0 / 0.5484 GB, free: 8.34 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002455/0.6064, allocations: 332.9 kB / 0.5487 GB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.6065, allocations: 10.2 kB / 0.5487 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.6065, allocations: 8.188 kB / 0.5487 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6067, allocations: 171 kB / 0.5488 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6067, allocations: 0 / 0.5488 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.6067, allocations: 3.656 kB / 0.5489 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/0.6068, allocations: 54.38 kB / 0.5489 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.6069, allocations: 52.42 kB / 0.549 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6069, allocations: 0 / 0.549 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6069, allocations: 0 / 0.549 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6069, allocations: 3.812 kB / 0.549 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.6071, allocations: 145.8 kB / 0.5491 GB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.6072, allocations: 69.3 kB / 0.5492 GB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.6073, allocations: 31.09 kB / 0.5492 GB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.6075, allocations: 252.4 kB / 0.5494 GB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.6076, allocations: 34.12 kB / 0.5495 GB, free: 7.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.6076, allocations: 0 / 0.5495 GB, free: 7.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002613/0.6078, allocations: 79.05 kB / 0.5495 GB, free: 7.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.6079, allocations: 55.41 kB / 0.5496 GB, free: 7.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.005e-05/0.6079, allocations: 96.03 kB / 0.5497 GB, free: 7.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.6079, allocations: 25.7 kB / 0.5497 GB, free: 6.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.608, allocations: 80.14 kB / 0.5498 GB, free: 6.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.608, allocations: 33.7 kB / 0.5498 GB, free: 6.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.608, allocations: 0 / 0.5498 GB, free: 6.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.6081, allocations: 313.8 kB / 0.5501 GB, free: 6.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.6081, allocations: 18.62 kB / 0.5501 GB, free: 6.574 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.6081, allocations: 15.19 kB / 0.5502 GB, free: 6.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.6082, allocations: 24 kB / 0.5502 GB, free: 6.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6082, allocations: 4.031 kB / 0.5502 GB, free: 6.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001401/0.6084, allocations: 85.25 kB / 0.5503 GB, free: 6.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.6084, allocations: 7.625 kB / 0.5503 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6084, allocations: 0.9375 kB / 0.5503 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6084, allocations: 0 / 0.5503 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.6085, allocations: 14.91 kB / 0.5503 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6085, allocations: 3.906 kB / 0.5503 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.6086, allocations: 3.906 kB / 0.5503 GB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.6086, allocations: 4 kB / 0.5503 GB, free: 6.52 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 (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.683e-05/0.6087, allocations: 108.6 kB / 0.5504 GB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001386/0.6088, allocations: 88.34 kB / 0.5505 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-06/0.6088, allocations: 0 / 0.5505 GB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.609, allocations: 97.45 kB / 0.5506 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6091, allocations: 0 / 0.5506 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6091, allocations: 3.969 kB / 0.5506 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6091, allocations: 0 / 0.5506 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.6091, allocations: 158.2 kB / 0.5507 GB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6092, allocations: 3.953 kB / 0.5507 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.6092, allocations: 14.45 kB / 0.5507 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6092, allocations: 3.844 kB / 0.5507 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.6092, allocations: 0 / 0.5507 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6093, allocations: 0 / 0.5507 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6093, allocations: 0 / 0.5507 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.6094, allocations: 110.1 kB / 0.5509 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.6095, allocations: 92.88 kB / 0.5509 GB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.6095, allocations: 6.422 kB / 0.5509 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.6095, allocations: 0 / 0.5509 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.6095, allocations: 6.625 kB / 0.551 GB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.6095, allocations: 3.906 kB / 0.551 GB, free: 5.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.956e-05/0.6096, allocations: 78.84 kB / 0.551 GB, free: 5.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6096, allocations: 0 / 0.551 GB, free: 5.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.6098, allocations: 19.41 kB / 0.5511 GB, free: 5.895 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 (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.0003721/0.6101, allocations: 0.6547 MB / 0.5517 GB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.6103, allocations: 47.94 kB / 0.5517 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6103, allocations: 0 / 0.5517 GB, free: 5.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.011e-05/0.6103, allocations: 30.25 kB / 0.5518 GB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.6104, allocations: 0 / 0.5518 GB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.6108, allocations: 127.5 kB / 0.5519 GB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.6109, allocations: 0.6857 MB / 0.5526 GB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.611, allocations: 4.688 kB / 0.5526 GB, free: 4.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.611, allocations: 17.25 kB / 0.5526 GB, free: 4.461 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.611, allocations: 0 / 0.5526 GB, free: 4.461 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.6324, allocations: 1.05 MB / 0.5536 GB, free: 4.062 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.6327, allocations: 143 kB / 0.5537 GB, free: 3.871 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.191, allocations: 1.094 kB / 0.5537 GB, free: 3.871 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat