Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_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.001461/0.00146, allocations: 181.8 kB / 15.76 MB, free: 6.367 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.747/1.747, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001164/0.001164, allocations: 86.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2675/0.2675, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003592, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.6135, allocations: 96.88 MB / 0.5735 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.6139, allocations: 85.2 kB / 0.5736 GB, free: 2.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08018/0.6941, allocations: 33.12 MB / 0.6059 GB, free: 7.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.841e-06/0.6941, allocations: 0 / 0.6059 GB, free: 7.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.311e-05/0.6942, allocations: 27.88 kB / 0.6059 GB, free: 7.398 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004253/0.6985, allocations: 1.313 MB / 0.6072 GB, free: 6.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.845e-05/0.6985, allocations: 8.031 kB / 0.6072 GB, free: 6.145 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006103/0.6992, allocations: 189.8 kB / 0.6074 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007106/0.7063, allocations: 1.022 MB / 0.6084 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.7077, allocations: 0.5404 MB / 0.6089 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.7078, allocations: 94.42 kB / 0.609 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003977/0.7082, allocations: 124.7 kB / 0.6091 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/0.7112, allocations: 1.175 MB / 0.6103 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/0.7113, allocations: 0 / 0.6103 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.7115, allocations: 52.44 kB / 0.6103 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.7116, allocations: 32 kB / 0.6104 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.7146, allocations: 1.448 MB / 0.6118 GB, free: 2.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/0.7236, allocations: 4.903 MB / 0.6166 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.7256, allocations: 1.18 MB / 0.6177 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.7257, allocations: 102.1 kB / 0.6178 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.7258, allocations: 47.5 kB / 0.6179 GB, free: 13.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 2.845e-06/0.7258, allocations: 0 / 0.6179 GB, free: 13.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.002411/0.7282, allocations: 1.2 MB / 0.619 GB, free: 12.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.7283, allocations: 60.41 kB / 0.6191 GB, free: 11.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.7293, allocations: 0.7144 MB / 0.6198 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.7294, allocations: 41.7 kB / 0.6198 GB, free: 11.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.7298, allocations: 478.7 kB / 0.6203 GB, free: 10.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.7301, allocations: 315.5 kB / 0.6206 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.7301, allocations: 20 kB / 0.6206 GB, free: 10.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.7303, allocations: 402.7 kB / 0.621 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.731, allocations: 338.5 kB / 0.6213 GB, free: 9.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.7318, allocations: 0.6061 MB / 0.6219 GB, free: 8.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.7326, allocations: 426.8 kB / 0.6223 GB, free: 8.488 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7326, allocations: 0 / 0.6223 GB, free: 8.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002147/0.7348, allocations: 1.17 MB / 0.6234 GB, free: 7.309 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.7348, allocations: 11.44 kB / 0.6235 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.7349, allocations: 8 kB / 0.6235 GB, free: 7.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.7352, allocations: 69.83 kB / 0.6235 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7362, allocations: 263.6 kB / 0.6238 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.7385, allocations: 2.647 MB / 0.6264 GB, free: 4.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.7396, allocations: 158.3 kB / 0.6265 GB, free: 3.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.7397, allocations: 44 kB / 0.6266 GB, free: 3.844 MB / 426.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.0005957/0.7403, allocations: 253.5 kB / 0.6268 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.7405, allocations: 91.06 kB / 0.6269 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002147/0.7427, allocations: 1.11 MB / 0.628 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7427, allocations: 11.94 kB / 0.628 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7427, allocations: 3.938 kB / 0.628 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7427, allocations: 15.92 kB / 0.628 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004275/0.747, allocations: 2.714 MB / 0.6307 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.7471, allocations: 4 kB / 0.6307 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.7478, allocations: 184.6 kB / 0.6308 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/0.7481, allocations: 65.62 kB / 0.6309 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.7482, allocations: 27.98 kB / 0.6309 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.7501, allocations: 2.639 MB / 0.6335 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.7501, allocations: 11.94 kB / 0.6335 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.7526, allocations: 1.775 MB / 0.6352 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.753, allocations: 215.6 kB / 0.6355 GB, free: 9.918 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.7532, allocations: 23.98 kB / 0.6355 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/0.7539, allocations: 64.03 kB / 0.6355 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.7541, allocations: 80.45 kB / 0.6356 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.7542, allocations: 35.98 kB / 0.6356 GB, free: 9.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008359/0.755, allocations: 0.5537 MB / 0.6362 GB, free: 9.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.755, allocations: 0 / 0.6362 GB, free: 9.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001167/0.7562, allocations: 303.5 kB / 0.6365 GB, free: 8.875 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.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.003346/0.7595, allocations: 4.098 MB / 0.6405 GB, free: 4.566 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.7616, allocations: 1.079 MB / 0.6415 GB, free: 3.465 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7616, allocations: 128 / 0.6415 GB, free: 3.465 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009243/0.7625, allocations: 0.6194 MB / 0.6421 GB, free: 2.824 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.7632, allocations: 119.3 kB / 0.6423 GB, free: 2.707 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.7784, allocations: 11.4 MB / 0.6534 GB, free: 6.906 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008112/0.7793, allocations: 1.02 MB / 0.6544 GB, free: 5.855 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007999/0.7801, allocations: 155.6 kB / 0.6545 GB, free: 5.699 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.7807, allocations: 363.3 kB / 0.6549 GB, free: 5.344 MB / 458.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7807, allocations: 0 / 0.6549 GB, free: 5.344 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0429/0.8236, allocations: 17.61 MB / 0.6721 GB, free: 3.777 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/0.8239, allocations: 225.7 kB / 0.6723 GB, free: 3.531 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.548, allocations: 4 kB / 0.6723 GB, free: 3.527 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat