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.0009654/0.0009655, allocations: 174.3 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.0008979/0.0008979, allocations: 84.64 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9969/0.9969, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.802e-05, allocations: 7.938 kB / 0.5289 GB, free: 1.203 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6229, allocations: 82.83 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.788, allocations: 126.8 MB / 0.7336 GB, free: 13.97 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.7882, allocations: 51.98 kB / 0.7337 GB, free: 13.92 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6836/1.472, allocations: 40.01 MB / 0.7728 GB, free: 118.5 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.583e-06/1.472, allocations: 0 / 0.7728 GB, free: 118.5 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 3.616e-05/1.472, allocations: 20 kB / 0.7728 GB, free: 118.5 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.003607/1.476, allocations: 1.848 MB / 0.7746 GB, free: 116.6 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.476, allocations: 8.031 kB / 0.7746 GB, free: 116.6 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/1.476, allocations: 114.6 kB / 0.7747 GB, free: 116.5 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/1.477, allocations: 0.7915 MB / 0.7755 GB, free: 115.7 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/1.477, allocations: 36 kB / 0.7755 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.477, allocations: 72 kB / 0.7756 GB, free: 115.6 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001727/1.479, allocations: 1.406 MB / 0.777 GB, free: 114.1 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/1.481, allocations: 1.527 MB / 0.7784 GB, free: 112.6 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.481, allocations: 3.938 kB / 0.7784 GB, free: 112.6 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/1.481, allocations: 3.938 kB / 0.7785 GB, free: 112.6 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/1.481, allocations: 35.95 kB / 0.7785 GB, free: 112.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006334/1.487, allocations: 5.779 MB / 0.7841 GB, free: 106.6 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/1.488, allocations: 0.9601 MB / 0.7851 GB, free: 105.7 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/1.489, allocations: 0.5266 MB / 0.7856 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.489, allocations: 8.438 kB / 0.7856 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/1.489, allocations: 39 kB / 0.7856 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/1.489, allocations: 0 / 0.7856 GB, free: 105.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=53): time 0.001771/1.491, allocations: 1.323 MB / 0.7869 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/1.491, allocations: 63.84 kB / 0.787 GB, free: 103.7 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/1.491, allocations: 442.1 kB / 0.7874 GB, free: 103.2 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/1.491, allocations: 25.7 kB / 0.7874 GB, free: 103.2 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/1.491, allocations: 0.4901 MB / 0.7879 GB, free: 102.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/1.492, allocations: 181.3 kB / 0.7881 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/1.492, allocations: 4 kB / 0.7881 GB, free: 102.5 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.125e-05/1.492, allocations: 366.8 kB / 0.7884 GB, free: 102.1 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/1.492, allocations: 405.4 kB / 0.7888 GB, free: 101.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/1.493, allocations: 0.6208 MB / 0.7894 GB, free: 101 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/1.493, allocations: 0.5251 MB / 0.7899 GB, free: 100.5 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/1.493, allocations: 4 kB / 0.7899 GB, free: 100.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001947/1.495, allocations: 1.595 MB / 0.7915 GB, free: 98.88 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/1.495, allocations: 9.719 kB / 0.7915 GB, free: 98.88 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.495, allocations: 8 kB / 0.7915 GB, free: 98.87 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.496, allocations: 0.5826 MB / 0.7921 GB, free: 98.28 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/1.497, allocations: 123.7 kB / 0.7922 GB, free: 98.16 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/1.503, allocations: 6.033 MB / 0.7981 GB, free: 92 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/1.504, allocations: 155.1 kB / 0.7982 GB, free: 91.85 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/1.504, allocations: 31.94 kB / 0.7983 GB, free: 91.82 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.0001377/1.504, allocations: 132.8 kB / 0.7984 GB, free: 91.68 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001674/1.505, allocations: 1.319 MB / 0.7997 GB, free: 90.36 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/1.506, allocations: 47.39 kB / 0.7997 GB, free: 90.31 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/1.506, allocations: 80.58 kB / 0.7998 GB, free: 90.23 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.506, allocations: 4 kB / 0.7998 GB, free: 90.23 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/1.506, allocations: 8 kB / 0.7998 GB, free: 90.22 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.506, allocations: 3.984 kB / 0.7998 GB, free: 90.21 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/1.507, allocations: 0.865 MB / 0.8007 GB, free: 89.31 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.507, allocations: 0 / 0.8007 GB, free: 89.31 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/1.507, allocations: 71.84 kB / 0.8007 GB, free: 89.24 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/1.508, allocations: 0.5711 MB / 0.8013 GB, free: 88.66 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/1.508, allocations: 11.95 kB / 0.8013 GB, free: 88.65 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/1.514, allocations: 6.017 MB / 0.8072 GB, free: 82.51 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.514, allocations: 3.984 kB / 0.8072 GB, free: 82.5 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.516, allocations: 2.01 MB / 0.8092 GB, free: 80.48 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/1.517, allocations: 132.5 kB / 0.8093 GB, free: 80.33 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/1.517, allocations: 0 / 0.8093 GB, free: 80.33 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/1.517, allocations: 103.8 kB / 0.8094 GB, free: 80.23 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.517, allocations: 44.38 kB / 0.8094 GB, free: 80.18 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/1.517, allocations: 16 kB / 0.8094 GB, free: 80.17 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003036/1.518, allocations: 340.5 kB / 0.8098 GB, free: 79.84 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.518, allocations: 0 / 0.8098 GB, free: 79.84 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001066/1.519, allocations: 334.7 kB / 0.8101 GB, free: 79.51 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.002479/1.521, allocations: 2.582 MB / 0.8126 GB, free: 76.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.523, allocations: 1.354 MB / 0.8139 GB, free: 75.54 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.523, allocations: 0 / 0.8139 GB, free: 75.54 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.524, allocations: 0.8696 MB / 0.8148 GB, free: 74.66 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/1.524, allocations: 45.5 kB / 0.8148 GB, free: 74.61 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/1.527, allocations: 2.087 MB / 0.8169 GB, free: 72.48 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/1.528, allocations: 1.363 MB / 0.8182 GB, free: 71.09 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003682/1.528, allocations: 228.3 kB / 0.8184 GB, free: 70.86 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002849/1.529, allocations: 283.3 kB / 0.8187 GB, free: 70.59 MB / 0.5421 GB Notification: Performance of SimCode: time 1.312e-06/1.529, allocations: 4 kB / 0.8187 GB, free: 70.58 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/1.57, allocations: 16.08 MB / 0.8344 GB, free: 54.55 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/1.57, allocations: 194 kB / 0.8346 GB, free: 54.29 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.88, allocations: 6.656 kB / 0.8346 GB, free: 54.29 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