Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10",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.001217/0.001217, allocations: 187.9 kB / 8.137 MB, free: 2.211 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.123/1.123, allocations: 221.4 MB / 229.9 MB, free: 3.059 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.0009163/0.0009163, allocations: 108.8 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6111/0.6111, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3084/0.9195, allocations: 88.97 MB / 0.5283 GB, free: 52.38 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/1.022, allocations: 82.85 MB / 0.6092 GB, free: 3.465 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/1.475, allocations: 133.7 MB / 0.7397 GB, free: 13.08 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/1.475, allocations: 63.66 kB / 0.7398 GB, free: 13.05 MB / 0.5109 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.3324/1.808, allocations: 140.7 MB / 0.8772 GB, free: 4.316 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.808, allocations: 8 kB / 0.8772 GB, free: 4.309 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/1.81, allocations: 1.031 MB / 0.8782 GB, free: 3.266 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007152/1.818, allocations: 3.238 MB / 0.8814 GB, free: 0.5898 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/1.818, allocations: 267.9 kB / 0.8816 GB, free: 336 kB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/1.819, allocations: 460 kB / 0.8821 GB, free: 15.88 MB / 0.6359 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01063/1.83, allocations: 4.825 MB / 0.8868 GB, free: 12.86 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/1.842, allocations: 4.925 MB / 0.8916 GB, free: 9.348 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/1.842, allocations: 4 kB / 0.8916 GB, free: 9.344 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/1.843, allocations: 12 kB / 0.8916 GB, free: 9.332 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/1.843, allocations: 200 kB / 0.8918 GB, free: 9.137 MB / 0.6359 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04708/1.89, allocations: 23.32 MB / 0.9146 GB, free: 6.125 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008996/1.899, allocations: 4.728 MB / 0.9192 GB, free: 2.832 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/1.903, allocations: 2.415 MB / 0.9215 GB, free: 1.309 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/1.903, allocations: 64.94 kB / 0.9216 GB, free: 1.242 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.903, allocations: 147 kB / 0.9217 GB, free: 1.148 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=630): time 1.015e-05/1.903, allocations: 0 / 0.9217 GB, free: 1.148 MB / 0.6515 GB Notification: Performance of matching and sorting (n=630): time 0.01128/1.914, allocations: 5.769 MB / 0.9274 GB, free: 12.64 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.914, allocations: 116.3 kB / 0.9275 GB, free: 12.51 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006452/1.921, allocations: 3.618 MB / 0.931 GB, free: 9.984 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 0.000693/1.922, allocations: 37.7 kB / 0.931 GB, free: 9.941 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.923, allocations: 2.803 MB / 0.9338 GB, free: 7.484 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.925, allocations: 2.007 MB / 0.9357 GB, free: 5.699 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/1.925, allocations: 0 / 0.9357 GB, free: 5.699 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0004151/1.926, allocations: 0.5718 MB / 0.9363 GB, free: 5.234 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/1.929, allocations: 1.636 MB / 0.9379 GB, free: 4.289 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/1.933, allocations: 2.603 MB / 0.9404 GB, free: 2.211 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/1.937, allocations: 2.034 MB / 0.9424 GB, free: 416 kB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/1.937, allocations: 4 kB / 0.9424 GB, free: 412 kB / 0.6671 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.1877/2.125, allocations: 7.452 MB / 0.9497 GB, free: 206.5 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/2.125, allocations: 3.875 kB / 0.9497 GB, free: 206.5 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/2.125, allocations: 28.88 kB / 0.9497 GB, free: 206.5 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009019/2.134, allocations: 3.606 MB / 0.9533 GB, free: 206.4 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003528/2.137, allocations: 0.8195 MB / 0.9541 GB, free: 206.4 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03645/2.174, allocations: 23.73 MB / 0.9772 GB, free: 204 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005593/2.179, allocations: 0.489 MB / 0.9777 GB, free: 203.8 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008759/2.18, allocations: 237.2 kB / 0.9779 GB, free: 203.8 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (523): * Single equations (assignments): 522 * 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 {(10,63.0%) 409} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001071/2.181, allocations: 214.2 kB / 0.9781 GB, free: 203.7 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/2.183, allocations: 0.6527 MB / 0.9788 GB, free: 203.4 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/2.184, allocations: 0.5879 MB / 0.9794 GB, free: 203.3 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/2.184, allocations: 61.91 kB / 0.9794 GB, free: 203.3 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.068e-05/2.184, allocations: 57.41 kB / 0.9795 GB, free: 203.3 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-05/2.184, allocations: 33.53 kB / 0.9795 GB, free: 203.3 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006557/2.191, allocations: 4.664 MB / 0.9841 GB, free: 202.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/2.191, allocations: 0 / 0.9841 GB, free: 202.9 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/2.192, allocations: 339.3 kB / 0.9844 GB, free: 202.9 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008984/2.201, allocations: 3.521 MB / 0.9878 GB, free: 202.8 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005044/2.201, allocations: 0 / 0.9878 GB, free: 202.8 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03576/2.237, allocations: 23.3 MB / 1.011 GB, free: 195.6 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.237, allocations: 3.531 kB / 1.011 GB, free: 195.6 MB / 0.6671 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01039/2.248, allocations: 6.149 MB / 1.017 GB, free: 193.3 MB / 0.6671 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01036/2.258, allocations: 6.603 MB / 1.023 GB, free: 190.6 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/2.26, allocations: 0.7652 MB / 1.024 GB, free: 190.2 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/2.261, allocations: 2.25 kB / 1.024 GB, free: 190.2 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006/2.267, allocations: 0.7955 MB / 1.025 GB, free: 190.2 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005575/2.268, allocations: 286.8 kB / 1.025 GB, free: 190.1 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005545/2.268, allocations: 183.1 kB / 1.025 GB, free: 190.1 MB / 0.6671 GB Notification: Performance of sort global known variables: time 0.003751/2.272, allocations: 2.61 MB / 1.028 GB, free: 189 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.007781/2.28, allocations: 2.612 MB / 1.03 GB, free: 188.7 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 211 * 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 {(9,50.6%) 410} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009467/2.281, allocations: 157 kB / 1.03 GB, free: 188.7 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.01083/2.292, allocations: 5.732 MB / 1.036 GB, free: 186.7 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/2.292, allocations: 17.19 kB / 1.036 GB, free: 186.7 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.006799/2.299, allocations: 3.312 MB / 1.039 GB, free: 185.6 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005785/2.304, allocations: 0.8878 MB / 1.04 GB, free: 185.3 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/2.325, allocations: 8.674 MB / 1.048 GB, free: 178 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/2.329, allocations: 3.776 MB / 1.052 GB, free: 175.3 MB / 0.6671 GB Notification: Performance of SimCode: time 5.51e-07/2.329, allocations: 1.406 kB / 1.052 GB, free: 175.3 MB / 0.6671 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_10_M_10_res.mat does not exist to compare? outputFormat=mat