Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",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.001202/0.001202, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 87.44 kB / 267.1 MB, free: 9.281 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.4047/0.4047, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.263e-05, allocations: 4 kB / 425.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1363, allocations: 58.84 MB / 484.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5594/0.6958, allocations: 84.65 MB / 0.5556 GB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.696, allocations: 61.31 kB / 0.5556 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003497/0.6995, allocations: 1.669 MB / 0.5572 GB, free: 2.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6995, allocations: 0 / 0.5572 GB, free: 2.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.6995, allocations: 0 / 0.5572 GB, free: 2.613 MB / 378.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.0002542/0.6998, allocations: 356.9 kB / 0.5576 GB, free: 2.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6999, allocations: 12.03 kB / 0.5576 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.6999, allocations: 32.47 kB / 0.5576 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.6999, allocations: 4.688 kB / 0.5576 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.7, allocations: 163.1 kB / 0.5578 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.7, allocations: 0 / 0.5578 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.7, allocations: 0 / 0.5578 GB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.555e-05/0.7001, allocations: 33.7 kB / 0.5578 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7002, allocations: 0 / 0.5578 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.7002, allocations: 0 / 0.5578 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.7002, allocations: 1.375 kB / 0.5578 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.7002, allocations: 7.938 kB / 0.5578 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.7003, allocations: 152.8 kB / 0.558 GB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.686e-05/0.7004, allocations: 22.59 kB / 0.558 GB, free: 1.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.7004, allocations: 8.859 kB / 0.558 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.7004, allocations: 0 / 0.558 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/0.7005, allocations: 56.27 kB / 0.5581 GB, free: 1.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.7005, allocations: 0 / 0.5581 GB, free: 1.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.7007, allocations: 67.41 kB / 0.5581 GB, free: 1.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.7008, allocations: 77.11 kB / 0.5582 GB, free: 1.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.249e-05/0.7008, allocations: 85 kB / 0.5583 GB, free: 1.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.7008, allocations: 29.69 kB / 0.5583 GB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.7009, allocations: 88.17 kB / 0.5584 GB, free: 1.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.7009, allocations: 0.7812 kB / 0.5584 GB, free: 1.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.7009, allocations: 0 / 0.5584 GB, free: 1.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.701, allocations: 310.8 kB / 0.5587 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.701, allocations: 0 / 0.5587 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.701, allocations: 0 / 0.5587 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.701, allocations: 32.66 kB / 0.5587 GB, free: 0.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.701, allocations: 3.953 kB / 0.5587 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.553e-05/0.7011, allocations: 71.41 kB / 0.5588 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7011, allocations: 33.69 kB / 0.5588 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7012, allocations: 0 / 0.5588 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7012, allocations: 0 / 0.5588 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.7012, allocations: 0 / 0.5588 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.7012, allocations: 4 kB / 0.5588 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.7012, allocations: 0 / 0.5588 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.7012, allocations: 2.25 kB / 0.5588 GB, free: 0.7461 MB / 378.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 6.501e-05/0.7013, allocations: 130.7 kB / 0.559 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.7013, allocations: 15.97 kB / 0.559 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.7013, allocations: 3.125 kB / 0.559 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.7013, allocations: 0 / 0.559 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7014, allocations: 0 / 0.559 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.7014, allocations: 3.984 kB / 0.559 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.864e-05/0.7014, allocations: 141.7 kB / 0.5591 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.7015, allocations: 4 kB / 0.5591 GB, free: 404 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.7015, allocations: 3.953 kB / 0.5591 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.7015, allocations: 0 / 0.5591 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.7015, allocations: 0 / 0.5591 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.7015, allocations: 0 / 0.5591 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7015, allocations: 4 kB / 0.5591 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.713e-05/0.7016, allocations: 94.77 kB / 0.5592 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.7016, allocations: 77.11 kB / 0.5593 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.7016, allocations: 3.953 kB / 0.5593 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.7016, allocations: 6.688 kB / 0.5593 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.7017, allocations: 4.531 kB / 0.5593 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.7017, allocations: 4 kB / 0.5593 GB, free: 164 kB / 378.7 MB Notification: Performance of sorting global known variables: time 1.685e-05/0.7017, allocations: 79.31 kB / 0.5594 GB, free: 84 kB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7017, allocations: 0 / 0.5594 GB, free: 84 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.7019, allocations: 24 kB / 0.5594 GB, free: 60 kB / 378.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.0009463/0.7029, allocations: 0.7969 MB / 0.5602 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.703, allocations: 55.41 kB / 0.5602 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.703, allocations: 0 / 0.5602 GB, free: 15.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.7031, allocations: 55.41 kB / 0.5603 GB, free: 15.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.299e-05/0.7032, allocations: 14.28 kB / 0.5603 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.7035, allocations: 94.77 kB / 0.5604 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.7038, allocations: 0.677 MB / 0.561 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.044e-06/0.7038, allocations: 4 kB / 0.5611 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.7038, allocations: 7.438 kB / 0.5611 GB, free: 14.32 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7038, allocations: 0 / 0.5611 GB, free: 14.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.7158, allocations: 1.368 MB / 0.5624 GB, free: 13 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.7161, allocations: 179.9 kB / 0.5626 GB, free: 12.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.273, allocations: 0 / 0.5626 GB, free: 12.77 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat