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.0009458/0.0009458, allocations: 176.4 kB / 8.346 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.283/1.283, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.0009156/0.0009156, allocations: 98.41 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9511/0.9511, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.388e-05, allocations: 0 / 0.5289 GB, free: 1.211 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5567, allocations: 82.84 MB / 0.6098 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.7121, allocations: 126.9 MB / 0.7337 GB, free: 13.9 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001569/0.7123, allocations: 55.91 kB / 0.7338 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.6779/1.39, allocations: 39.72 MB / 0.7726 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.693e-06/1.39, allocations: 4 kB / 0.7726 GB, free: 118.4 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 5.086e-05/1.39, allocations: 20 kB / 0.7726 GB, free: 118.4 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.00316/1.394, allocations: 1.245 MB / 0.7738 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.394, allocations: 8.031 kB / 0.7738 GB, free: 117.1 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002984/1.394, allocations: 114.6 kB / 0.7739 GB, free: 117 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/1.395, allocations: 0.5442 MB / 0.7744 GB, free: 116.4 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/1.395, allocations: 40 kB / 0.7745 GB, free: 116.3 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/1.395, allocations: 71.91 kB / 0.7745 GB, free: 116.3 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/1.396, allocations: 0.7545 MB / 0.7753 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/1.398, allocations: 0.9533 MB / 0.7762 GB, free: 114.5 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/1.398, allocations: 352 / 0.7762 GB, free: 114.5 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/1.398, allocations: 3.953 kB / 0.7762 GB, free: 114.5 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.398, allocations: 28 kB / 0.7762 GB, free: 114.5 MB / 0.5421 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/1.402, allocations: 4.322 MB / 0.7805 GB, free: 110 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/1.403, allocations: 0.5012 MB / 0.781 GB, free: 109.5 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/1.403, allocations: 291.4 kB / 0.7812 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/1.403, allocations: 4.438 kB / 0.7812 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/1.403, allocations: 39 kB / 0.7813 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=53): time 1.723e-06/1.403, allocations: 0 / 0.7813 GB, free: 109.2 MB / 0.5421 GB Notification: Performance of matching and sorting (n=53): time 0.001124/1.404, allocations: 0.6756 MB / 0.7819 GB, free: 108.5 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/1.404, allocations: 63.78 kB / 0.782 GB, free: 108.4 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/1.405, allocations: 325.1 kB / 0.7823 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.405, allocations: 25.7 kB / 0.7823 GB, free: 108.1 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/1.405, allocations: 498 kB / 0.7828 GB, free: 107.6 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-05/1.405, allocations: 177.3 kB / 0.783 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/1.405, allocations: 0 / 0.783 GB, free: 107.4 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/1.405, allocations: 354.8 kB / 0.7833 GB, free: 107 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/1.405, allocations: 177.6 kB / 0.7835 GB, free: 106.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/1.406, allocations: 399.9 kB / 0.7839 GB, free: 106.4 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/1.406, allocations: 246 kB / 0.7841 GB, free: 106.1 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.406, allocations: 0 / 0.7841 GB, free: 106.1 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001249/1.407, allocations: 0.8818 MB / 0.785 GB, free: 105.2 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.407, allocations: 11.98 kB / 0.785 GB, free: 105.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.407, allocations: 8 kB / 0.785 GB, free: 105.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008267/1.408, allocations: 372.3 kB / 0.7853 GB, free: 104.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/1.408, allocations: 87.77 kB / 0.7854 GB, free: 104.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004091/1.412, allocations: 3.793 MB / 0.7891 GB, free: 100.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/1.413, allocations: 51.28 kB / 0.7892 GB, free: 100.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/1.413, allocations: 36 kB / 0.7892 GB, free: 100.8 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.0001062/1.413, allocations: 128.8 kB / 0.7893 GB, free: 100.6 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001013/1.414, allocations: 0.6795 MB / 0.79 GB, free: 99.94 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/1.414, allocations: 47.39 kB / 0.79 GB, free: 99.89 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/1.414, allocations: 56.58 kB / 0.7901 GB, free: 99.84 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.414, allocations: 4 kB / 0.7901 GB, free: 99.84 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.414, allocations: 4 kB / 0.7901 GB, free: 99.83 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.414, allocations: 3.984 kB / 0.7901 GB, free: 99.83 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/1.415, allocations: 0.6579 MB / 0.7907 GB, free: 99.13 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.415, allocations: 3.984 kB / 0.7907 GB, free: 99.13 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/1.415, allocations: 27.98 kB / 0.7908 GB, free: 99.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007383/1.416, allocations: 357.1 kB / 0.7911 GB, free: 98.75 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/1.416, allocations: 7.953 kB / 0.7911 GB, free: 98.74 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/1.42, allocations: 3.77 MB / 0.7948 GB, free: 94.85 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.42, allocations: 0 / 0.7948 GB, free: 94.85 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/1.421, allocations: 1.046 MB / 0.7958 GB, free: 93.79 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/1.421, allocations: 124.5 kB / 0.7959 GB, free: 93.64 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/1.421, allocations: 4 kB / 0.7959 GB, free: 93.64 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.421, allocations: 8 kB / 0.796 GB, free: 93.63 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/1.421, allocations: 44.38 kB / 0.796 GB, free: 93.59 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/1.421, allocations: 12 kB / 0.796 GB, free: 93.58 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001875/1.422, allocations: 244.5 kB / 0.7962 GB, free: 93.34 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.422, allocations: 0 / 0.7962 GB, free: 93.34 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0008263/1.423, allocations: 294.6 kB / 0.7965 GB, free: 93.05 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.001519/1.424, allocations: 1.607 MB / 0.7981 GB, free: 91.41 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001192/1.425, allocations: 0.8155 MB / 0.7989 GB, free: 90.59 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.425, allocations: 0 / 0.7989 GB, free: 90.59 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/1.426, allocations: 0.5496 MB / 0.7994 GB, free: 90.03 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.426, allocations: 33.2 kB / 0.7995 GB, free: 90 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/1.428, allocations: 1.111 MB / 0.8005 GB, free: 88.84 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/1.429, allocations: 0.9922 MB / 0.8015 GB, free: 87.82 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001497/1.429, allocations: 44.56 kB / 0.8016 GB, free: 87.78 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/1.429, allocations: 295.3 kB / 0.8018 GB, free: 87.49 MB / 0.5421 GB Notification: Performance of SimCode: time 2.51e-07/1.429, allocations: 0 / 0.8018 GB, free: 87.49 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03339/1.463, allocations: 12.26 MB / 0.8138 GB, free: 75.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.463, allocations: 211 kB / 0.814 GB, free: 75.01 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.248/3.711, allocations: 0 / 0.814 GB, free: 75.01 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