Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 95.53 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.868e-05, allocations: 8.219 kB / 451.9 MB, free: 9.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.6166, allocations: 89.14 MB / 0.5888 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.6169, allocations: 63.97 kB / 0.5889 GB, free: 64 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04407/0.661, allocations: 17.11 MB / 0.6056 GB, free: 14.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.432e-06/0.661, allocations: 4 kB / 0.6056 GB, free: 14.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.6611, allocations: 3.938 kB / 0.6056 GB, free: 14.94 MB / 426.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.00106/0.6621, allocations: 488 kB / 0.6061 GB, free: 14.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.6622, allocations: 12.03 kB / 0.6061 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.6623, allocations: 38.48 kB / 0.6061 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.6623, allocations: 0 / 0.6061 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.6625, allocations: 163 kB / 0.6063 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.6625, allocations: 0 / 0.6063 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6625, allocations: 8 kB / 0.6063 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.6627, allocations: 25.7 kB / 0.6063 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6627, allocations: 0 / 0.6063 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6627, allocations: 3.938 kB / 0.6063 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.6627, allocations: 0 / 0.6063 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.6627, allocations: 4 kB / 0.6063 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.663, allocations: 153.6 kB / 0.6065 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.663, allocations: 22.55 kB / 0.6065 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.6631, allocations: 8.859 kB / 0.6065 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.6631, allocations: 0 / 0.6065 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.6632, allocations: 56.27 kB / 0.6066 GB, free: 13.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.745e-06/0.6632, allocations: 0 / 0.6066 GB, free: 13.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002411/0.6634, allocations: 67.45 kB / 0.6066 GB, free: 13.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/0.6635, allocations: 77.11 kB / 0.6067 GB, free: 13.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.6636, allocations: 85 kB / 0.6068 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.6636, allocations: 33.67 kB / 0.6068 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.6637, allocations: 88.12 kB / 0.6069 GB, free: 13.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.6637, allocations: 0 / 0.6069 GB, free: 13.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.6637, allocations: 0 / 0.6069 GB, free: 13.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.6639, allocations: 310.8 kB / 0.6072 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.6639, allocations: 0 / 0.6072 GB, free: 13.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-06/0.6639, allocations: 4 kB / 0.6072 GB, free: 13.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/0.6639, allocations: 25.7 kB / 0.6072 GB, free: 13.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.6639, allocations: 0 / 0.6072 GB, free: 13.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.993e-05/0.664, allocations: 83.25 kB / 0.6073 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.6641, allocations: 29.7 kB / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6641, allocations: 0 / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6641, allocations: 0 / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.6641, allocations: 0 / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6641, allocations: 4 kB / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.6642, allocations: 0 / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.6642, allocations: 0 / 0.6073 GB, free: 12.93 MB / 426.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 7.468e-05/0.6643, allocations: 130.6 kB / 0.6075 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.6643, allocations: 15.97 kB / 0.6075 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.519e-05/0.6643, allocations: 7.078 kB / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6643, allocations: 0 / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6643, allocations: 0 / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.6643, allocations: 0 / 0.6075 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.6644, allocations: 141.7 kB / 0.6076 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6644, allocations: 7.938 kB / 0.6076 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.6644, allocations: 0 / 0.6076 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6644, allocations: 3.953 kB / 0.6076 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.6645, allocations: 7.984 kB / 0.6076 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6645, allocations: 4 kB / 0.6076 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6645, allocations: 0 / 0.6076 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.6646, allocations: 86.78 kB / 0.6077 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.6646, allocations: 89.08 kB / 0.6078 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.6647, allocations: 3.953 kB / 0.6078 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.291e-05/0.6647, allocations: 4 kB / 0.6078 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.6647, allocations: 0 / 0.6078 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.6647, allocations: 0 / 0.6078 GB, free: 12.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.6647, allocations: 83.25 kB / 0.6079 GB, free: 12.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6647, allocations: 0 / 0.6079 GB, free: 12.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005939/0.6653, allocations: 139.9 kB / 0.608 GB, free: 12.11 MB / 426.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.001555/0.6669, allocations: 1.024 MB / 0.609 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.667, allocations: 59.41 kB / 0.6091 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.667, allocations: 0 / 0.6091 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.6671, allocations: 55.41 kB / 0.6091 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.6672, allocations: 8.781 kB / 0.6091 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.6676, allocations: 147.1 kB / 0.6093 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.6679, allocations: 0.677 MB / 0.6099 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.902e-06/0.6679, allocations: 0 / 0.6099 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.6679, allocations: 11.44 kB / 0.61 GB, free: 10.07 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6679, allocations: 0 / 0.61 GB, free: 10.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.6856, allocations: 3.667 MB / 0.6135 GB, free: 6.473 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/0.6858, allocations: 184 kB / 0.6137 GB, free: 6.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.383, allocations: 3.938 kB / 0.6137 GB, free: 6.246 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat