Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile.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.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestWriteFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestWriteFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestWriteFile",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.00104/0.00104, allocations: 177.6 kB / 8.004 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.689/1.689, 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.0008463/0.0008462, allocations: 86.61 kB / 261.7 MB, free: 1.68 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.2176/0.2176, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.719e-05/1.721e-05, allocations: 0 / 418.4 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 58.85 MB / 477.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.5938, allocations: 83.81 MB / 0.5479 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.5941, allocations: 62.97 kB / 0.5479 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003186/0.5973, allocations: 1.415 MB / 0.5493 GB, free: 8.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5973, allocations: 2.5 kB / 0.5493 GB, free: 8.348 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.5973, allocations: 0 / 0.5493 GB, free: 8.348 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.0002441/0.5976, allocations: 357.3 kB / 0.5496 GB, free: 7.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5976, allocations: 7.719 kB / 0.5497 GB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.5977, allocations: 0 / 0.5497 GB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.7e-05/0.5977, allocations: 173.6 kB / 0.5498 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5977, allocations: 0 / 0.5498 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.5978, allocations: 0 / 0.5498 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.483e-05/0.5978, allocations: 3.938 kB / 0.5498 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.954e-05/0.5979, allocations: 32.19 kB / 0.5499 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5979, allocations: 0 / 0.5499 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.5979, allocations: 0 / 0.5499 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5979, allocations: 0 / 0.5499 GB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.681e-05/0.598, allocations: 126.2 kB / 0.55 GB, free: 7.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.598, allocations: 30.3 kB / 0.55 GB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.5981, allocations: 4.859 kB / 0.55 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.5981, allocations: 3 kB / 0.55 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5981, allocations: 56.27 kB / 0.5501 GB, free: 7.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5981, allocations: 0 / 0.5501 GB, free: 7.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.5983, allocations: 36.42 kB / 0.5501 GB, free: 7.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.5983, allocations: 77.11 kB / 0.5502 GB, free: 7.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.212e-05/0.5984, allocations: 89.03 kB / 0.5503 GB, free: 7.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.5984, allocations: 25.7 kB / 0.5503 GB, free: 7.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.436e-05/0.5984, allocations: 87.52 kB / 0.5504 GB, free: 7.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.5984, allocations: 0 / 0.5504 GB, free: 7.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.5984, allocations: 0 / 0.5504 GB, free: 7.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.208e-05/0.5985, allocations: 310.8 kB / 0.5507 GB, free: 6.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.5985, allocations: 0 / 0.5507 GB, free: 6.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.5985, allocations: 3.5 kB / 0.5507 GB, free: 6.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.5985, allocations: 15.08 kB / 0.5507 GB, free: 6.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5985, allocations: 0 / 0.5507 GB, free: 6.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.66e-05/0.5986, allocations: 40.53 kB / 0.5507 GB, free: 6.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5986, allocations: 29.55 kB / 0.5507 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5987, allocations: 0 / 0.5507 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5987, allocations: 3.844 kB / 0.5507 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.5987, allocations: 0.875 kB / 0.5508 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5987, allocations: 0 / 0.5508 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.5987, allocations: 0 / 0.5508 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.5987, allocations: 0 / 0.5508 GB, free: 6.738 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: 1 (result) * 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: 1 * 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 5.356e-05/0.5988, allocations: 137.7 kB / 0.5509 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.482e-05/0.5988, allocations: 44.5 kB / 0.5509 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.5988, allocations: 6.984 kB / 0.5509 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.5989, allocations: 3.75 kB / 0.5509 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5989, allocations: 4 kB / 0.5509 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5989, allocations: 0 / 0.5509 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5989, allocations: 0 / 0.5509 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.204e-05/0.5989, allocations: 126 kB / 0.5511 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.599, allocations: 0 / 0.5511 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.599, allocations: 3.266 kB / 0.5511 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.599, allocations: 11.8 kB / 0.5511 GB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.599, allocations: 3.938 kB / 0.5511 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.599, allocations: 0 / 0.5511 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.599, allocations: 0.7031 kB / 0.5511 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.209e-05/0.5991, allocations: 63.14 kB / 0.5511 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.5991, allocations: 80.86 kB / 0.5512 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5991, allocations: 3.953 kB / 0.5512 GB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.5991, allocations: 4.031 kB / 0.5512 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.5992, allocations: 3.969 kB / 0.5512 GB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.5992, allocations: 3.234 kB / 0.5512 GB, free: 6.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.433e-05/0.5992, allocations: 75.28 kB / 0.5513 GB, free: 6.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5992, allocations: 3.938 kB / 0.5513 GB, free: 6.141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.5994, allocations: 19.56 kB / 0.5513 GB, free: 6.133 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005627/0.6, allocations: 0.6967 MB / 0.552 GB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.6001, allocations: 62.31 kB / 0.5521 GB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6001, allocations: 0 / 0.5521 GB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.6001, allocations: 59.22 kB / 0.5521 GB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.823e-05/0.6002, allocations: 3.953 kB / 0.5521 GB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.6004, allocations: 86.58 kB / 0.5522 GB, free: 5.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.6006, allocations: 0.68 MB / 0.5529 GB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.61e-06/0.6006, allocations: 0 / 0.5529 GB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.6006, allocations: 11.28 kB / 0.5529 GB, free: 4.539 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6006, allocations: 0 / 0.5529 GB, free: 4.539 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.6238, allocations: 0.8673 MB / 0.5537 GB, free: 4.055 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.6241, allocations: 159.2 kB / 0.5539 GB, free: 3.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.076, allocations: 0 / 0.5539 GB, free: 3.859 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestWriteFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestWriteFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestWriteFile_res.mat does not exist to compare? outputFormat=mat