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.001358/0.001358, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.000876/0.0008759, allocations: 91.47 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2606/0.2606, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.202e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 61.93 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5847, allocations: 88.48 MB / 0.5812 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5851, allocations: 55.97 kB / 0.5812 GB, free: 7.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04225/0.6273, allocations: 17.14 MB / 0.598 GB, free: 6.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6274, allocations: 0 / 0.598 GB, free: 6.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.6274, allocations: 0 / 0.598 GB, free: 6.68 MB / 410.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.0007427/0.6281, allocations: 492 kB / 0.5984 GB, free: 6.148 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6282, allocations: 11.98 kB / 0.5984 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.6282, allocations: 4 kB / 0.5984 GB, free: 6.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6284, allocations: 167 kB / 0.5986 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6284, allocations: 0 / 0.5986 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.6284, allocations: 4 kB / 0.5986 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.49e-05/0.6284, allocations: 3.938 kB / 0.5986 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.628e-05/0.6285, allocations: 33.7 kB / 0.5986 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6285, allocations: 0 / 0.5986 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6285, allocations: 8 kB / 0.5987 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.6286, allocations: 0 / 0.5987 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.6287, allocations: 126.2 kB / 0.5988 GB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.714e-05/0.6287, allocations: 22.52 kB / 0.5988 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.6288, allocations: 8.953 kB / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-06/0.6288, allocations: 0 / 0.5988 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6288, allocations: 56.27 kB / 0.5989 GB, free: 5.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6288, allocations: 3.938 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001844/0.629, allocations: 33.7 kB / 0.5989 GB, free: 5.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.6291, allocations: 85.14 kB / 0.599 GB, free: 5.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.503e-05/0.6291, allocations: 85 kB / 0.5991 GB, free: 5.367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6291, allocations: 25.7 kB / 0.5991 GB, free: 5.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.6292, allocations: 80.14 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.6292, allocations: 0 / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.6292, allocations: 0 / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6293, allocations: 314.8 kB / 0.5995 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-06/0.6293, allocations: 4 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.6293, allocations: 0.8438 kB / 0.5995 GB, free: 4.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.6294, allocations: 4.062 kB / 0.5995 GB, free: 4.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6294, allocations: 0 / 0.5995 GB, free: 4.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.195e-05/0.6295, allocations: 45.55 kB / 0.5995 GB, free: 4.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.6295, allocations: 37.59 kB / 0.5995 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.6295, allocations: 3.984 kB / 0.5995 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6295, allocations: 0 / 0.5995 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.6295, allocations: 0 / 0.5995 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6296, allocations: 4 kB / 0.5996 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.6296, allocations: 3.938 kB / 0.5996 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.6296, allocations: 4.031 kB / 0.5996 GB, free: 4.82 MB / 410.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.981e-05/0.6297, allocations: 126.7 kB / 0.5997 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.833e-05/0.6297, allocations: 37.7 kB / 0.5997 GB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.6298, allocations: 11.92 kB / 0.5997 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.644e-05/0.6298, allocations: 7.703 kB / 0.5997 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.6298, allocations: 0 / 0.5997 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6298, allocations: 0 / 0.5997 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.6298, allocations: 0 / 0.5997 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.915e-05/0.6299, allocations: 130.2 kB / 0.5999 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6299, allocations: 4.031 kB / 0.5999 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.6299, allocations: 0 / 0.5999 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6299, allocations: 3.953 kB / 0.5999 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6299, allocations: 3.984 kB / 0.5999 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6299, allocations: 0 / 0.5999 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.63, allocations: 3.938 kB / 0.5999 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.616e-05/0.63, allocations: 57.14 kB / 0.5999 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6302, allocations: 77.11 kB / 0.6 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.6302, allocations: 11.97 kB / 0.6 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-06/0.6302, allocations: 0 / 0.6 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.6302, allocations: 4 kB / 0.6 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.6302, allocations: 4 kB / 0.6 GB, free: 4.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.219e-05/0.6303, allocations: 75.28 kB / 0.6001 GB, free: 4.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6303, allocations: 0 / 0.6001 GB, free: 4.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.6308, allocations: 135.9 kB / 0.6002 GB, free: 4.047 MB / 410.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.001467/0.6323, allocations: 1.003 MB / 0.6012 GB, free: 3.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.6324, allocations: 55.41 kB / 0.6013 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6324, allocations: 0 / 0.6013 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.747e-05/0.6324, allocations: 63.34 kB / 0.6013 GB, free: 2.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.6325, allocations: 3.953 kB / 0.6013 GB, free: 2.922 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.6329, allocations: 147.1 kB / 0.6015 GB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.6333, allocations: 0.6807 MB / 0.6021 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.396e-06/0.6333, allocations: 0 / 0.6021 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.6334, allocations: 11.44 kB / 0.6021 GB, free: 2.023 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6334, allocations: 0 / 0.6021 GB, free: 2.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.6616, allocations: 3.308 MB / 0.6054 GB, free: 14.71 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.662, allocations: 154.1 kB / 0.6055 GB, free: 14.52 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.257, allocations: 4 kB / 0.6055 GB, free: 14.52 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