Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008844/0.0008841, allocations: 97.31 kB / 297.3 MB, free: 6.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3418/0.3418, allocations: 45.22 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002676, allocations: 11.98 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3444, allocations: 63.24 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.4595, allocations: 90.24 MB / 0.6074 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4598, allocations: 71.92 kB / 0.6074 GB, free: 15.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04189/0.5017, allocations: 17.05 MB / 0.6241 GB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5018, allocations: 0 / 0.6241 GB, free: 14.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.5018, allocations: 0 / 0.6241 GB, free: 14.24 MB / 442.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.0007059/0.5025, allocations: 498 kB / 0.6246 GB, free: 13.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5026, allocations: 8.031 kB / 0.6246 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.5026, allocations: 30.56 kB / 0.6246 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.5026, allocations: 3.953 kB / 0.6246 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.5027, allocations: 163.1 kB / 0.6248 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5027, allocations: 4 kB / 0.6248 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.5028, allocations: 0 / 0.6248 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.5028, allocations: 37.62 kB / 0.6248 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.5029, allocations: 0 / 0.6248 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5029, allocations: 4 kB / 0.6248 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.5029, allocations: 3.953 kB / 0.6248 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.5029, allocations: 7.922 kB / 0.6248 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.503, allocations: 149.6 kB / 0.625 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.5031, allocations: 18.61 kB / 0.625 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-06/0.5031, allocations: 4 kB / 0.625 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5031, allocations: 56.27 kB / 0.625 GB, free: 13.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5031, allocations: 0 / 0.625 GB, free: 13.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.5033, allocations: 71.39 kB / 0.6251 GB, free: 13.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.5033, allocations: 77.11 kB / 0.6252 GB, free: 12.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.044e-05/0.5034, allocations: 85 kB / 0.6253 GB, free: 12.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.5034, allocations: 29.7 kB / 0.6253 GB, free: 12.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.5034, allocations: 80.14 kB / 0.6254 GB, free: 12.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.5035, allocations: 4.125 kB / 0.6254 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-06/0.5035, allocations: 0 / 0.6254 GB, free: 12.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5036, allocations: 314.8 kB / 0.6257 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-06/0.5036, allocations: 0 / 0.6257 GB, free: 12.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.5036, allocations: 4 kB / 0.6257 GB, free: 12.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.5036, allocations: 29.69 kB / 0.6257 GB, free: 12.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5036, allocations: 0 / 0.6257 GB, free: 12.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.83e-05/0.5037, allocations: 63.41 kB / 0.6258 GB, free: 12.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5038, allocations: 33.8 kB / 0.6258 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5038, allocations: 0 / 0.6258 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5038, allocations: 0 / 0.6258 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.5038, allocations: 3.938 kB / 0.6258 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5038, allocations: 4 kB / 0.6258 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.5038, allocations: 0 / 0.6258 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.5038, allocations: 0 / 0.6258 GB, free: 12.23 MB / 442.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 () * Number of clocked 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 0.0001029/0.504, allocations: 139.5 kB / 0.6259 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.504, allocations: 4 kB / 0.6259 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.504, allocations: 10.72 kB / 0.6259 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.504, allocations: 0 / 0.6259 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.504, allocations: 0 / 0.6259 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.504, allocations: 0 / 0.6259 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.5041, allocations: 157.6 kB / 0.6261 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5041, allocations: 0 / 0.6261 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.5041, allocations: 0 / 0.6261 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5041, allocations: 0 / 0.6261 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.5042, allocations: 3.938 kB / 0.6261 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5042, allocations: 0 / 0.6261 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5042, allocations: 3.938 kB / 0.6261 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.5043, allocations: 98.78 kB / 0.6262 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.5043, allocations: 81.02 kB / 0.6263 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.5043, allocations: 3.938 kB / 0.6263 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.5044, allocations: 4 kB / 0.6263 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.5044, allocations: 0 / 0.6263 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.5044, allocations: 7.984 kB / 0.6263 GB, free: 11.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.101e-05/0.5044, allocations: 75.28 kB / 0.6264 GB, free: 11.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5044, allocations: 4.031 kB / 0.6264 GB, free: 11.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005175/0.5049, allocations: 147.9 kB / 0.6265 GB, free: 11.4 MB / 442.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) * Number of clocked states: 0 () * 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.001455/0.5064, allocations: 1.02 MB / 0.6275 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.5065, allocations: 67.33 kB / 0.6276 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5066, allocations: 4 kB / 0.6276 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.5066, allocations: 51.41 kB / 0.6276 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.324e-05/0.5067, allocations: 10.56 kB / 0.6276 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.5072, allocations: 184.3 kB / 0.6278 GB, free: 10.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.5075, allocations: 0.6731 MB / 0.6285 GB, free: 9.371 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.535e-06/0.5075, allocations: 0 / 0.6285 GB, free: 9.371 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.5075, allocations: 11.44 kB / 0.6285 GB, free: 9.363 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5076, allocations: 0 / 0.6285 GB, free: 9.363 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.5248, allocations: 3.641 MB / 0.632 GB, free: 5.828 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.5251, allocations: 212.4 kB / 0.6322 GB, free: 5.582 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.218, allocations: 0 / 0.6322 GB, free: 5.582 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat