Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_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.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_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.001122/0.001122, allocations: 173.8 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.393/1.393, allocations: 221.3 MB / 235.5 MB, free: 2.91 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.0009826/0.0009824, allocations: 99.53 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9916/0.9916, allocations: 120.5 MB / 457.8 MB, free: 7.066 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.203e-05, allocations: 0 / 0.5358 GB, free: 12.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6325/0.6326, allocations: 82.84 MB / 0.6167 GB, free: 9.25 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.8054, allocations: 127.6 MB / 0.7413 GB, free: 9.543 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.8056, allocations: 55.92 kB / 0.7413 GB, free: 9.488 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.7472/1.553, allocations: 40.19 MB / 0.7806 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.483e-06/1.553, allocations: 0 / 0.7806 GB, free: 110.7 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 4.892e-05/1.553, allocations: 24 kB / 0.7806 GB, free: 110.7 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.003394/1.556, allocations: 1.249 MB / 0.7818 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.556, allocations: 8.031 kB / 0.7818 GB, free: 109.4 MB / 0.5421 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/1.557, allocations: 173.5 kB / 0.782 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/1.557, allocations: 122.5 kB / 0.7821 GB, free: 109.1 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/1.558, allocations: 0.5482 MB / 0.7827 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/1.558, allocations: 94.36 kB / 0.7827 GB, free: 108.4 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.558, allocations: 119.9 kB / 0.7829 GB, free: 108.3 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/1.56, allocations: 1.118 MB / 0.7839 GB, free: 107.1 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/1.56, allocations: 0 / 0.7839 GB, free: 107.1 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/1.56, allocations: 52.34 kB / 0.784 GB, free: 107 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/1.56, allocations: 31.95 kB / 0.784 GB, free: 107 MB / 0.5421 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/1.561, allocations: 0.8252 MB / 0.7848 GB, free: 106.2 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/1.566, allocations: 4.524 MB / 0.7893 GB, free: 101.5 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/1.567, allocations: 0.5306 MB / 0.7898 GB, free: 100.9 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/1.567, allocations: 306.5 kB / 0.7901 GB, free: 100.6 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/1.567, allocations: 4.438 kB / 0.7901 GB, free: 100.6 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/1.567, allocations: 39 kB / 0.7901 GB, free: 100.6 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/1.567, allocations: 0 / 0.7901 GB, free: 100.6 MB / 0.5421 GB Notification: Performance of matching and sorting (n=53): time 0.001206/1.568, allocations: 0.7378 MB / 0.7908 GB, free: 99.83 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/1.569, allocations: 55.84 kB / 0.7909 GB, free: 99.77 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/1.569, allocations: 403 kB / 0.7913 GB, free: 99.37 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/1.569, allocations: 33.7 kB / 0.7913 GB, free: 99.33 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.569, allocations: 494.1 kB / 0.7918 GB, free: 98.84 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/1.569, allocations: 185.3 kB / 0.7919 GB, free: 98.65 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/1.569, allocations: 16 kB / 0.792 GB, free: 98.64 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/1.569, allocations: 362.7 kB / 0.7923 GB, free: 98.27 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/1.57, allocations: 189.6 kB / 0.7925 GB, free: 98.09 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.57, allocations: 421.5 kB / 0.7929 GB, free: 97.57 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/1.57, allocations: 263.2 kB / 0.7931 GB, free: 97.32 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.57, allocations: 4 kB / 0.7931 GB, free: 97.32 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001385/1.572, allocations: 0.9747 MB / 0.7941 GB, free: 96.33 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.572, allocations: 8 kB / 0.7941 GB, free: 96.32 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.572, allocations: 4 kB / 0.7941 GB, free: 96.32 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008529/1.573, allocations: 380.6 kB / 0.7945 GB, free: 95.94 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/1.573, allocations: 91.78 kB / 0.7946 GB, free: 95.85 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/1.577, allocations: 3.916 MB / 0.7984 GB, free: 91.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/1.578, allocations: 75.22 kB / 0.7985 GB, free: 91.72 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/1.578, allocations: 28 kB / 0.7985 GB, free: 91.7 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.000106/1.578, allocations: 142.5 kB / 0.7986 GB, free: 91.55 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/1.578, allocations: 55.34 kB / 0.7987 GB, free: 91.5 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.578, allocations: 65 kB / 0.7987 GB, free: 91.43 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.578, allocations: 4 kB / 0.7987 GB, free: 91.43 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.578, allocations: 7.953 kB / 0.7987 GB, free: 91.42 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.578, allocations: 4 kB / 0.7987 GB, free: 91.42 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/1.579, allocations: 0.8058 MB / 0.7995 GB, free: 90.56 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.579, allocations: 0 / 0.7995 GB, free: 90.56 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/1.579, allocations: 27.92 kB / 0.7996 GB, free: 90.54 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007745/1.58, allocations: 364.8 kB / 0.7999 GB, free: 90.18 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/1.58, allocations: 19.98 kB / 0.7999 GB, free: 90.16 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004114/1.584, allocations: 3.911 MB / 0.8037 GB, free: 86.11 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.584, allocations: 0 / 0.8037 GB, free: 86.11 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/1.585, allocations: 1.108 MB / 0.8048 GB, free: 84.98 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/1.585, allocations: 128.4 kB / 0.8049 GB, free: 84.84 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/1.585, allocations: 15.94 kB / 0.805 GB, free: 84.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/1.586, allocations: 4 kB / 0.805 GB, free: 84.82 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/1.586, allocations: 52.36 kB / 0.805 GB, free: 84.77 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/1.586, allocations: 12 kB / 0.805 GB, free: 84.76 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002701/1.586, allocations: 301.2 kB / 0.8053 GB, free: 84.46 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.3e-07/1.586, allocations: 0 / 0.8053 GB, free: 84.46 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008102/1.587, allocations: 318.8 kB / 0.8056 GB, free: 84.15 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.001683/1.589, allocations: 1.692 MB / 0.8073 GB, free: 82.43 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001173/1.59, allocations: 0.8686 MB / 0.8081 GB, free: 81.54 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.59, allocations: 4.062 kB / 0.8081 GB, free: 81.54 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0007193/1.59, allocations: 0.5748 MB / 0.8087 GB, free: 80.95 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/1.591, allocations: 57.5 kB / 0.8087 GB, free: 80.89 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/1.593, allocations: 1.164 MB / 0.8099 GB, free: 79.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/1.593, allocations: 1 MB / 0.8109 GB, free: 78.67 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001522/1.593, allocations: 40.78 kB / 0.8109 GB, free: 78.62 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/1.594, allocations: 295.3 kB / 0.8112 GB, free: 78.34 MB / 0.5421 GB Notification: Performance of SimCode: time 4.71e-07/1.594, allocations: 4 kB / 0.8112 GB, free: 78.33 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/1.624, allocations: 13.98 MB / 0.8248 GB, free: 64.61 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.624, allocations: 237.8 kB / 0.8251 GB, free: 64.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/4.025, allocations: 0 / 0.8251 GB, free: 64.3 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat does not exist to compare? outputFormat=mat