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"}) [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 183.9 kB / 8.134 MB, free: 2.219 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.054/1.054, allocations: 221.4 MB / 229.9 MB, free: 3.066 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.0009033/0.0009033, allocations: 106.5 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5963/0.5963, allocations: 120.4 MB / 452 MB, free: 12.97 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3135/0.9099, allocations: 88.96 MB / 0.5283 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/1.018, allocations: 82.84 MB / 0.6092 GB, free: 3.457 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/1.46, allocations: 126.8 MB / 0.733 GB, free: 3.355 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001044/1.46, allocations: 46.98 kB / 0.733 GB, free: 3.336 MB / 0.4953 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.07345/1.534, allocations: 41.27 MB / 0.7733 GB, free: 3.199 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/1.534, allocations: 8 kB / 0.7733 GB, free: 3.191 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/1.534, allocations: 118.6 kB / 0.7735 GB, free: 3.074 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/1.535, allocations: 0.7865 MB / 0.7742 GB, free: 2.402 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.535, allocations: 40 kB / 0.7743 GB, free: 2.363 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.535, allocations: 71.91 kB / 0.7743 GB, free: 2.293 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001802/1.537, allocations: 1.411 MB / 0.7757 GB, free: 1.309 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/1.539, allocations: 1.531 MB / 0.7772 GB, free: 112 kB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/1.539, allocations: 4 kB / 0.7772 GB, free: 108 kB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/1.539, allocations: 0 / 0.7772 GB, free: 108 kB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.539, allocations: 28 kB / 0.7772 GB, free: 80 kB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006355/1.545, allocations: 5.669 MB / 0.7828 GB, free: 11.42 MB / 0.5421 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.546, allocations: 0.8283 MB / 0.7836 GB, free: 10.79 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/1.547, allocations: 0.5346 MB / 0.7841 GB, free: 10.4 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/1.547, allocations: 4.438 kB / 0.7841 GB, free: 10.39 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/1.547, allocations: 38.81 kB / 0.7841 GB, free: 10.35 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/1.547, allocations: 0 / 0.7841 GB, free: 10.35 MB / 0.5421 GB Notification: Performance of matching and sorting (n=53): time 0.001865/1.549, allocations: 1.272 MB / 0.7854 GB, free: 9.324 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/1.549, allocations: 59.84 kB / 0.7854 GB, free: 9.254 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/1.549, allocations: 441.5 kB / 0.7859 GB, free: 8.898 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/1.549, allocations: 25.7 kB / 0.7859 GB, free: 8.867 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.55, allocations: 472 kB / 0.7863 GB, free: 8.441 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.55, allocations: 184.5 kB / 0.7865 GB, free: 8.281 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/1.55, allocations: 0 / 0.7865 GB, free: 8.281 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/1.55, allocations: 361.5 kB / 0.7869 GB, free: 7.938 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/1.55, allocations: 408.7 kB / 0.7873 GB, free: 7.645 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/1.551, allocations: 0.6267 MB / 0.7879 GB, free: 7.043 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/1.551, allocations: 0.5272 MB / 0.7884 GB, free: 6.648 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.551, allocations: 0 / 0.7884 GB, free: 6.648 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002093/1.553, allocations: 1.546 MB / 0.7899 GB, free: 5.391 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/1.553, allocations: 7.938 kB / 0.7899 GB, free: 5.383 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.554, allocations: 12.12 kB / 0.7899 GB, free: 5.371 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/1.555, allocations: 0.5652 MB / 0.7905 GB, free: 4.895 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/1.555, allocations: 107.6 kB / 0.7906 GB, free: 4.793 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006346/1.561, allocations: 5.592 MB / 0.796 GB, free: 416 kB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/1.562, allocations: 111.1 kB / 0.7961 GB, free: 304 kB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/1.562, allocations: 27.97 kB / 0.7962 GB, free: 280 kB / 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.0001291/1.562, allocations: 128.2 kB / 0.7963 GB, free: 148 kB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/1.562, allocations: 47.42 kB / 0.7963 GB, free: 100 kB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/1.562, allocations: 82.02 kB / 0.7964 GB, free: 68 kB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.562, allocations: 8 kB / 0.7964 GB, free: 60 kB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.562, allocations: 4 kB / 0.7964 GB, free: 56 kB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.562, allocations: 3.984 kB / 0.7964 GB, free: 52 kB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009158/1.563, allocations: 0.8754 MB / 0.7973 GB, free: 15.34 MB / 0.5578 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.563, allocations: 0 / 0.7973 GB, free: 15.34 MB / 0.5578 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/1.563, allocations: 47.89 kB / 0.7973 GB, free: 15.3 MB / 0.5578 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.565, allocations: 0.5628 MB / 0.7979 GB, free: 14.83 MB / 0.5578 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/1.565, allocations: 4 kB / 0.7979 GB, free: 14.82 MB / 0.5578 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00619/1.571, allocations: 5.571 MB / 0.8033 GB, free: 10.46 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.571, allocations: 0 / 0.8033 GB, free: 10.46 MB / 0.5578 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002357/1.573, allocations: 1.973 MB / 0.8052 GB, free: 8.902 MB / 0.5578 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002938/1.576, allocations: 2.937 MB / 0.8081 GB, free: 6.555 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.576, allocations: 136.3 kB / 0.8082 GB, free: 6.406 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/1.576, allocations: 4 kB / 0.8082 GB, free: 6.402 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/1.577, allocations: 63.89 kB / 0.8083 GB, free: 6.34 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.577, allocations: 24.34 kB / 0.8083 GB, free: 6.32 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/1.577, allocations: 11.81 kB / 0.8083 GB, free: 6.312 MB / 0.5578 GB Notification: Performance of sort global known variables: time 0.0002862/1.577, allocations: 337.8 kB / 0.8087 GB, free: 6.055 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001433/1.579, allocations: 334.5 kB / 0.809 GB, free: 5.73 MB / 0.5578 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.000183/1.579, allocations: 128.3 kB / 0.8091 GB, free: 5.598 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.001611/1.58, allocations: 1.241 MB / 0.8103 GB, free: 4.621 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.58, allocations: 0 / 0.8103 GB, free: 4.621 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.581, allocations: 0.7538 MB / 0.811 GB, free: 4.02 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/1.582, allocations: 55.59 kB / 0.8111 GB, free: 3.98 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/1.584, allocations: 1.8 MB / 0.8129 GB, free: 2.391 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007889/1.585, allocations: 1.379 MB / 0.8142 GB, free: 1.102 MB / 0.5578 GB Notification: Performance of SimCode: time 2.5e-07/1.585, allocations: 0 / 0.8142 GB, free: 1.102 MB / 0.5578 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