Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.002344/0.00235, allocations: 182.6 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.476/2.476, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001236/0.001236, allocations: 97.48 kB / 270.9 MB, free: 8.363 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.5374/0.5374, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004939, allocations: 12 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1504, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009835/0.1602, allocations: 5.547 MB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006153/0.1665, allocations: 2.071 MB / 497.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.1677, allocations: 20 kB / 498 MB, free: 3.473 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1691, allocations: 234.5 kB / 498.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.173, allocations: 0.7986 MB / 499 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.1753, allocations: 478.9 kB / 499.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.178, allocations: 0.8189 MB / 0.4885 GB, free: 1.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3387/0.5168, allocations: 1.249 MB / 0.4898 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5179, allocations: 404.6 kB / 0.4901 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/0.5189, allocations: 0.5077 MB / 0.4906 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.5191, allocations: 47.31 kB / 0.4907 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009619/0.5201, allocations: 202.4 kB / 0.4909 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.5203, allocations: 192.6 kB / 0.4911 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.5207, allocations: 215.2 kB / 0.4913 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.5231, allocations: 1.09 MB / 0.4923 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5232, allocations: 2.281 kB / 0.4923 GB, free: 34.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5232, allocations: 0 / 0.4923 GB, free: 34.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.154e-05/0.5232, allocations: 0 / 0.4923 GB, free: 34.79 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.006495/0.5297, allocations: 1.491 MB / 0.4938 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.5298, allocations: 9.406 kB / 0.4938 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006001/0.5304, allocations: 189.2 kB / 0.494 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.5461, allocations: 1.438 MB / 0.4954 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.548, allocations: 0.5324 MB / 0.4959 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.5481, allocations: 90.3 kB / 0.496 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.5484, allocations: 124.3 kB / 0.4961 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003998/0.5525, allocations: 1.167 MB / 0.4972 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-05/0.5526, allocations: 6.156 kB / 0.4973 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/0.5528, allocations: 52.22 kB / 0.4973 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.5529, allocations: 33.53 kB / 0.4973 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.557, allocations: 1.443 MB / 0.4987 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.569, allocations: 4.866 MB / 0.5035 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.5721, allocations: 1.197 MB / 0.5047 GB, free: 31.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.5724, allocations: 99.06 kB / 0.5048 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.5724, allocations: 43.78 kB / 0.5048 GB, free: 31.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 4.038e-06/0.5724, allocations: 0 / 0.5048 GB, free: 31.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.003615/0.5761, allocations: 1.209 MB / 0.506 GB, free: 30.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.5761, allocations: 69.28 kB / 0.506 GB, free: 30.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.5775, allocations: 0.7941 MB / 0.5068 GB, free: 30.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.5777, allocations: 39.2 kB / 0.5069 GB, free: 30.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.578, allocations: 0.4926 MB / 0.5073 GB, free: 30.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.5783, allocations: 315.6 kB / 0.5076 GB, free: 30.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.38e-05/0.5784, allocations: 20.41 kB / 0.5077 GB, free: 30.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.5785, allocations: 351 kB / 0.508 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.5795, allocations: 346 kB / 0.5083 GB, free: 29.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5807, allocations: 0.6087 MB / 0.5089 GB, free: 29.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.5818, allocations: 429.2 kB / 0.5093 GB, free: 29.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.5819, allocations: 3.094 kB / 0.5093 GB, free: 29.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00305/0.5849, allocations: 1.127 MB / 0.5104 GB, free: 29.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.585, allocations: 9.625 kB / 0.5104 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.585, allocations: 12.47 kB / 0.5105 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.5854, allocations: 66.59 kB / 0.5105 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.5874, allocations: 266.3 kB / 0.5108 GB, free: 29.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.5895, allocations: 2.643 MB / 0.5134 GB, free: 26.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.5912, allocations: 154.9 kB / 0.5135 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.5914, allocations: 54.34 kB / 0.5136 GB, free: 26.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006635/0.592, allocations: 251 kB / 0.5138 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.5923, allocations: 91.84 kB / 0.5139 GB, free: 26.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.5951, allocations: 1.119 MB / 0.515 GB, free: 25.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.5951, allocations: 13.98 kB / 0.515 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5951, allocations: 0 / 0.515 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5951, allocations: 3.422 kB / 0.515 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.6005, allocations: 2.736 MB / 0.5177 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.6005, allocations: 3.281 kB / 0.5177 GB, free: 23.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.6019, allocations: 187.2 kB / 0.5178 GB, free: 23.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.6023, allocations: 62.94 kB / 0.5179 GB, free: 23.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/0.6024, allocations: 25.06 kB / 0.5179 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/0.6046, allocations: 2.634 MB / 0.5205 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.6046, allocations: 7.344 kB / 0.5205 GB, free: 21.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/0.6085, allocations: 1.787 MB / 0.5223 GB, free: 19.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.6091, allocations: 212.9 kB / 0.5225 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.6093, allocations: 28 kB / 0.5225 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.6105, allocations: 57.23 kB / 0.5225 GB, free: 19.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.6107, allocations: 82.72 kB / 0.5226 GB, free: 19.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.6108, allocations: 29.06 kB / 0.5226 GB, free: 19.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.6119, allocations: 0.5606 MB / 0.5232 GB, free: 19.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6119, allocations: 2.062 kB / 0.5232 GB, free: 19.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001503/0.6134, allocations: 291.1 kB / 0.5235 GB, free: 19.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004428/0.6179, allocations: 4.103 MB / 0.5275 GB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.6208, allocations: 1.1 MB / 0.5286 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.6209, allocations: 2.75 kB / 0.5286 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.6224, allocations: 0.6184 MB / 0.5292 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.6236, allocations: 108.6 kB / 0.5293 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/0.6409, allocations: 10.89 MB / 0.5399 GB, free: 22.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.6417, allocations: 1.015 MB / 0.5409 GB, free: 21.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.6428, allocations: 380.5 kB / 0.5413 GB, free: 21.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6428, allocations: 6.016 kB / 0.5413 GB, free: 21.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.163/3.806, allocations: 23.26 MB / 0.564 GB, free: 11.25 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat