Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.0008719, allocations: 98.23 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009151/0.0009152, allocations: 183.7 kB / 17.89 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.24 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 11.94 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 61.92 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006357/0.1431, allocations: 5.959 MB / 477.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.1474, allocations: 2.04 MB / 479.7 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006029/0.1481, allocations: 23.94 kB / 479.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.1488, allocations: 234.7 kB / 479.9 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1507, allocations: 0.6957 MB / 480.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1519, allocations: 486.6 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.1534, allocations: 1.046 MB / 482.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.1557, allocations: 1.287 MB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.1565, allocations: 394.4 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.1571, allocations: 0.5056 MB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.1572, allocations: 48 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.1579, allocations: 223.8 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.158, allocations: 191.1 kB / 484.8 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.1583, allocations: 209.2 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1594, allocations: 1.083 MB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1595, allocations: 4 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1595, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1595, allocations: 3.938 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.003611/0.1631, allocations: 1.471 MB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.1632, allocations: 12.03 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.1634, allocations: 177.7 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008992/0.1724, allocations: 1.333 MB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1735, allocations: 0.5284 MB / 489.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.1736, allocations: 90.36 kB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.1738, allocations: 120 kB / 489.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.1759, allocations: 1.137 MB / 490.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.176, allocations: 7.906 kB / 490.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1761, allocations: 44 kB / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.1761, allocations: 36 kB / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.1783, allocations: 1.368 MB / 492.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00711/0.1854, allocations: 4.703 MB / 497.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1871, allocations: 0.9284 MB / 498 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.1877, allocations: 367.7 kB / 498.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.1878, allocations: 102.1 kB / 498.5 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.1879, allocations: 51.52 kB / 498.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=89): time 2.534e-06/0.1879, allocations: 0 / 498.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=89): time 0.002258/0.1902, allocations: 1.198 MB / 499.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1902, allocations: 60.41 kB / 499.8 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1913, allocations: 0.7776 MB / 0.4888 GB, free: 124 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/0.1914, allocations: 41.7 kB / 0.4888 GB, free: 76 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.1917, allocations: 459 kB / 0.4893 GB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.192, allocations: 307.6 kB / 0.4896 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.192, allocations: 20 kB / 0.4896 GB, free: 15.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1922, allocations: 390.8 kB / 0.49 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.1928, allocations: 338.5 kB / 0.4903 GB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007872/0.1936, allocations: 0.5661 MB / 0.4908 GB, free: 13.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.1943, allocations: 422.9 kB / 0.4912 GB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1943, allocations: 0 / 0.4912 GB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001932/0.1963, allocations: 1.123 MB / 0.4923 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.1963, allocations: 8 kB / 0.4924 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.1963, allocations: 8 kB / 0.4924 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.1966, allocations: 66.14 kB / 0.4924 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/0.1976, allocations: 251.6 kB / 0.4927 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.1997, allocations: 2.627 MB / 0.4952 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.2006, allocations: 146.3 kB / 0.4954 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-05/0.2007, allocations: 40 kB / 0.4954 GB, free: 8.957 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004523/0.2012, allocations: 257.6 kB / 0.4957 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.2013, allocations: 86.88 kB / 0.4957 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.2033, allocations: 1.114 MB / 0.4968 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2033, allocations: 15.88 kB / 0.4968 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2033, allocations: 4 kB / 0.4968 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.2034, allocations: 7.984 kB / 0.4968 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.2071, allocations: 2.703 MB / 0.4995 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.2072, allocations: 4.781 kB / 0.4995 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.2079, allocations: 183.7 kB / 0.4997 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/0.2081, allocations: 61.67 kB / 0.4997 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-05/0.2082, allocations: 24 kB / 0.4998 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.2103, allocations: 2.619 MB / 0.5023 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.2103, allocations: 11.94 kB / 0.5023 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2784/0.4887, allocations: 1.456 MB / 0.5037 GB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005395/0.4893, allocations: 216.1 kB / 0.5039 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.4896, allocations: 24.05 kB / 0.504 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.4908, allocations: 56.94 kB / 0.504 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.4911, allocations: 77.8 kB / 0.5041 GB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.4912, allocations: 33.52 kB / 0.5041 GB, free: 45.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001217/0.4924, allocations: 0.5501 MB / 0.5047 GB, free: 45.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4924, allocations: 0.7812 kB / 0.5047 GB, free: 45.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001698/0.4941, allocations: 292.3 kB / 0.5049 GB, free: 45.8 MB / 382.1 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 (92): * Single equations (assignments): 90 * 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.004019/0.4982, allocations: 2.067 MB / 0.507 GB, free: 44.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.5011, allocations: 1.061 MB / 0.508 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.5011, allocations: 4.812 kB / 0.508 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.5026, allocations: 0.6154 MB / 0.5086 GB, free: 44.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.5041, allocations: 124.8 kB / 0.5087 GB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.5171, allocations: 5.443 MB / 0.514 GB, free: 41.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/0.5181, allocations: 0.9922 MB / 0.515 GB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001385/0.5195, allocations: 146.7 kB / 0.5152 GB, free: 40.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/0.5203, allocations: 356.9 kB / 0.5155 GB, free: 40.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5203, allocations: 0.5 kB / 0.5155 GB, free: 40.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05111/0.5715, allocations: 17.29 MB / 0.5324 GB, free: 32.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.5716, allocations: 233.7 kB / 0.5326 GB, free: 32.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.973, allocations: 0 / 0.5326 GB, free: 32.25 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat