Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.4 MB / 235.5 MB, free: 2.879 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 102 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.121/1.121, allocations: 120.5 MB / 457.9 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.84e-05, allocations: 4 kB / 0.5358 GB, free: 12.08 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6293/0.6294, allocations: 82.83 MB / 0.6167 GB, free: 9.312 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.793, allocations: 127.5 MB / 0.7412 GB, free: 9.656 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.7932, allocations: 43.98 kB / 0.7413 GB, free: 9.613 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6637/1.457, allocations: 40.47 MB / 0.7808 GB, free: 110.6 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.673e-06/1.457, allocations: 0 / 0.7808 GB, free: 110.6 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.03e-05/1.457, allocations: 28 kB / 0.7808 GB, free: 110.6 MB / 0.5421 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.0035/1.46, allocations: 1.848 MB / 0.7826 GB, free: 108.7 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.461, allocations: 12.02 kB / 0.7826 GB, free: 108.7 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002003/1.461, allocations: 193.5 kB / 0.7828 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/1.461, allocations: 114.6 kB / 0.7829 GB, free: 108.4 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.462, allocations: 0.7942 MB / 0.7837 GB, free: 107.5 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/1.462, allocations: 86.36 kB / 0.7838 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/1.462, allocations: 116 kB / 0.7839 GB, free: 107.3 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/1.464, allocations: 1.696 MB / 0.7856 GB, free: 105.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.464, allocations: 3.938 kB / 0.7856 GB, free: 105.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/1.464, allocations: 48 kB / 0.7856 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/1.464, allocations: 31.95 kB / 0.7856 GB, free: 105.5 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/1.466, allocations: 1.477 MB / 0.7871 GB, free: 104 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006134/1.472, allocations: 6.051 MB / 0.793 GB, free: 97.79 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/1.473, allocations: 0.9881 MB / 0.7939 GB, free: 96.79 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/1.474, allocations: 0.5472 MB / 0.7945 GB, free: 96.23 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/1.474, allocations: 8.438 kB / 0.7945 GB, free: 96.23 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/1.474, allocations: 42.94 kB / 0.7945 GB, free: 96.18 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=53): time 2.815e-06/1.474, allocations: 0 / 0.7945 GB, free: 96.18 MB / 0.5421 GB Notification: Performance of matching and sorting (n=53): time 0.00176/1.476, allocations: 1.374 MB / 0.7959 GB, free: 94.79 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/1.476, allocations: 55.84 kB / 0.7959 GB, free: 94.72 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/1.476, allocations: 0.5614 MB / 0.7965 GB, free: 94.15 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.476, allocations: 29.7 kB / 0.7965 GB, free: 94.11 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/1.477, allocations: 498 kB / 0.797 GB, free: 93.62 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 9.591e-05/1.477, allocations: 189.3 kB / 0.7972 GB, free: 93.43 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/1.477, allocations: 12 kB / 0.7972 GB, free: 93.42 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/1.477, allocations: 374.8 kB / 0.7975 GB, free: 93.04 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/1.477, allocations: 421.4 kB / 0.7979 GB, free: 92.63 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/1.478, allocations: 0.638 MB / 0.7986 GB, free: 91.89 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/1.478, allocations: 0.5457 MB / 0.7991 GB, free: 91.34 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.478, allocations: 0 / 0.7991 GB, free: 91.34 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001975/1.48, allocations: 1.697 MB / 0.8007 GB, free: 89.63 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.48, allocations: 12 kB / 0.8008 GB, free: 89.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.48, allocations: 8 kB / 0.8008 GB, free: 89.61 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.481, allocations: 0.5858 MB / 0.8013 GB, free: 89.02 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.482, allocations: 123.8 kB / 0.8015 GB, free: 88.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/1.488, allocations: 6.222 MB / 0.8075 GB, free: 82.54 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/1.488, allocations: 178.9 kB / 0.8077 GB, free: 82.36 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/1.488, allocations: 28 kB / 0.8077 GB, free: 82.34 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load[2,2].controller.local_reset,load[2,1].controller.local_reset,load[1,2].controller.local_reset,load[1,1].controller.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,81.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.488, allocations: 144.8 kB / 0.8079 GB, free: 82.19 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/1.488, allocations: 51.38 kB / 0.8079 GB, free: 82.14 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/1.489, allocations: 105 kB / 0.808 GB, free: 82.04 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/1.489, allocations: 8 kB / 0.808 GB, free: 82.03 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.489, allocations: 4 kB / 0.808 GB, free: 82.02 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.489, allocations: 7.938 kB / 0.808 GB, free: 82.02 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/1.49, allocations: 1.044 MB / 0.8091 GB, free: 80.92 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.49, allocations: 4 kB / 0.8091 GB, free: 80.92 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/1.49, allocations: 55.92 kB / 0.8091 GB, free: 80.86 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/1.491, allocations: 0.5903 MB / 0.8097 GB, free: 80.27 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/1.491, allocations: 11.98 kB / 0.8097 GB, free: 80.26 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006062/1.497, allocations: 6.23 MB / 0.8158 GB, free: 73.88 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.497, allocations: 3.938 kB / 0.8158 GB, free: 73.88 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/1.499, allocations: 2.064 MB / 0.8178 GB, free: 71.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/1.499, allocations: 148.5 kB / 0.8179 GB, free: 71.63 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/1.499, allocations: 15.98 kB / 0.818 GB, free: 71.62 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/1.5, allocations: 115.7 kB / 0.8181 GB, free: 71.5 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/1.5, allocations: 40.38 kB / 0.8181 GB, free: 71.46 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/1.5, allocations: 16 kB / 0.8181 GB, free: 71.45 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003498/1.5, allocations: 441.1 kB / 0.8185 GB, free: 71.02 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.21e-07/1.5, allocations: 0 / 0.8185 GB, free: 71.02 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008487/1.501, allocations: 362.8 kB / 0.8189 GB, free: 70.67 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load[1,1].controller.y,load[1,2].controller.y,load[2,1].controller.y,load[2,2].controller.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00244/1.504, allocations: 2.647 MB / 0.8215 GB, free: 67.99 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001643/1.505, allocations: 1.411 MB / 0.8229 GB, free: 66.56 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.505, allocations: 4 kB / 0.8229 GB, free: 66.56 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.000993/1.506, allocations: 0.8985 MB / 0.8237 GB, free: 65.64 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.507, allocations: 62.31 kB / 0.8238 GB, free: 65.58 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/1.509, allocations: 2.167 MB / 0.8259 GB, free: 63.38 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/1.51, allocations: 1.356 MB / 0.8272 GB, free: 62 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003604/1.51, allocations: 232.6 kB / 0.8275 GB, free: 61.77 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/1.51, allocations: 295.3 kB / 0.8277 GB, free: 61.48 MB / 0.5421 GB Notification: Performance of SimCode: time 2.41e-07/1.51, allocations: 0 / 0.8277 GB, free: 61.48 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/1.538, allocations: 18.22 MB / 0.8455 GB, free: 43.52 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.538, allocations: 241.2 kB / 0.8458 GB, free: 43.28 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.921, allocations: 11.38 kB / 0.8458 GB, free: 43.27 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat does not exist to compare? outputFormat=mat