Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009517, allocations: 99.22 kB / 16.31 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 183.2 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8084/0.8084, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 8 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1642, allocations: 82.85 MB / 0.5752 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40): time 0.001292/0.1655, allocations: 0.9417 MB / 0.5761 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.1658, allocations: 43.89 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.1658, allocations: 4 kB / 0.5761 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.1659, allocations: 0 / 0.5761 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.847e-05/0.166, allocations: 0 / 0.5761 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1661, allocations: 23.95 kB / 0.5761 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.1667, allocations: 0.5578 MB / 0.5767 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.1667, allocations: 7.938 kB / 0.5767 GB, free: 6.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.167, allocations: 291.7 kB / 0.577 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1673, allocations: 259.6 kB / 0.5772 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.1674, allocations: 44 kB / 0.5773 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.1675, allocations: 48 kB / 0.5773 GB, free: 5.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1677, allocations: 243.4 kB / 0.5775 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1678, allocations: 97.52 kB / 0.5776 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1681, allocations: 343.4 kB / 0.578 GB, free: 5.156 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1681, allocations: 0 / 0.578 GB, free: 5.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1681, allocations: 4 kB / 0.578 GB, free: 5.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1682, allocations: 4 kB / 0.578 GB, free: 5.148 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002596/0.1708, allocations: 1.163 MB / 0.5791 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1708, allocations: 8.031 kB / 0.5791 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1709, allocations: 94.45 kB / 0.5792 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.171, allocations: 55.48 kB / 0.5793 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.1715, allocations: 306.5 kB / 0.5796 GB, free: 3.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.1716, allocations: 60.98 kB / 0.5796 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1717, allocations: 115.6 kB / 0.5797 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.1727, allocations: 0.6152 MB / 0.5803 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.1727, allocations: 23.89 kB / 0.5803 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.1728, allocations: 20 kB / 0.5804 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1728, allocations: 15.95 kB / 0.5804 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006348/0.1734, allocations: 427.6 kB / 0.5808 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1744, allocations: 0.7864 MB / 0.5816 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.1758, allocations: 0.9276 MB / 0.5825 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.1758, allocations: 9 kB / 0.5825 GB, free: 376 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1759, allocations: 51.56 kB / 0.5825 GB, free: 316 kB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 2.044e-06/0.1759, allocations: 0 / 0.5825 GB, free: 316 kB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.4675/0.6433, allocations: 2.863 MB / 0.5853 GB, free: 16.02 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.6434, allocations: 63.88 kB / 0.5854 GB, free: 15.96 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.6435, allocations: 124 kB / 0.5855 GB, free: 15.86 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.6436, allocations: 58.95 kB / 0.5856 GB, free: 15.83 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.6436, allocations: 102.8 kB / 0.5856 GB, free: 15.74 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.6439, allocations: 492.7 kB / 0.5861 GB, free: 15.45 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/0.644, allocations: 31.12 kB / 0.5861 GB, free: 15.45 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6441, allocations: 377.5 kB / 0.5865 GB, free: 15.13 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/0.6449, allocations: 0.4908 MB / 0.587 GB, free: 15.13 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.646, allocations: 0.824 MB / 0.5878 GB, free: 14.79 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.647, allocations: 0.6328 MB / 0.5884 GB, free: 14.67 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.6471, allocations: 2.75 kB / 0.5884 GB, free: 14.67 MB / 446.3 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003845/0.6509, allocations: 1.984 MB / 0.5903 GB, free: 14.06 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.6509, allocations: 9.156 kB / 0.5904 GB, free: 14.06 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.651, allocations: 12.16 kB / 0.5904 GB, free: 14.06 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.6534, allocations: 0.574 MB / 0.5909 GB, free: 13.98 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.6544, allocations: 328.5 kB / 0.5912 GB, free: 13.95 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.662, allocations: 4.85 MB / 0.596 GB, free: 11.65 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.6625, allocations: 114.3 kB / 0.5961 GB, free: 11.57 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.6626, allocations: 56 kB / 0.5961 GB, free: 11.55 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.6628, allocations: 239.5 kB / 0.5964 GB, free: 11.38 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.6629, allocations: 42.84 kB / 0.5964 GB, free: 11.35 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.6631, allocations: 115.4 kB / 0.5965 GB, free: 11.25 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6632, allocations: 16.44 kB / 0.5965 GB, free: 11.24 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-05/0.6632, allocations: 7.547 kB / 0.5965 GB, free: 11.24 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.6632, allocations: 5.531 kB / 0.5966 GB, free: 11.24 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6643, allocations: 0.7554 MB / 0.5973 GB, free: 10.9 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6643, allocations: 7.828 kB / 0.5973 GB, free: 10.89 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.6657, allocations: 267.8 kB / 0.5976 GB, free: 10.88 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002267/0.668, allocations: 0.5681 MB / 0.5981 GB, free: 10.79 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/0.6681, allocations: 54.94 kB / 0.5982 GB, free: 10.78 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/0.675, allocations: 4.833 MB / 0.6029 GB, free: 7.914 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.675, allocations: 1.531 kB / 0.6029 GB, free: 7.914 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.6789, allocations: 2.333 MB / 0.6052 GB, free: 6.914 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.679, allocations: 127.9 kB / 0.6053 GB, free: 6.785 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6791, allocations: 51.73 kB / 0.6053 GB, free: 6.758 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.6795, allocations: 16.25 kB / 0.6053 GB, free: 6.746 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.6796, allocations: 90.17 kB / 0.6054 GB, free: 6.695 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.6797, allocations: 33.36 kB / 0.6055 GB, free: 6.684 MB / 446.3 MB Notification: Performance of sorting global known variables: time 2.209e-05/0.6797, allocations: 77.53 kB / 0.6055 GB, free: 6.609 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6797, allocations: 4 kB / 0.6055 GB, free: 6.605 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0007526/0.6805, allocations: 287.4 kB / 0.6058 GB, free: 6.555 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],xm[21],xm[22],xm[23],xm[24],xm[25],xm[26],xm[27],xm[28],xm[29],xm[30],xm[31],xm[32],xm[33],xm[34],xm[35],xm[36],xm[37],xm[38],xm[39],xm[40],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20],v[21],v[22],v[23],v[24],v[25],v[26],v[27],v[28],v[29],v[30],v[31],v[32],v[33],v[34],v[35],v[36],v[37],v[38],v[39],v[40]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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 {(1,100.0%) 39} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004124/0.6846, allocations: 2.927 MB / 0.6087 GB, free: 4.98 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.6875, allocations: 1.67 MB / 0.6103 GB, free: 4.223 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6875, allocations: 0.75 kB / 0.6103 GB, free: 4.223 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.6892, allocations: 1.019 MB / 0.6113 GB, free: 3.715 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.6894, allocations: 22.19 kB / 0.6113 GB, free: 3.699 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.7033, allocations: 17.18 MB / 0.6281 GB, free: 3.18 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.7038, allocations: 0.9584 MB / 0.629 GB, free: 2.191 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005578/0.7043, allocations: 293.4 kB / 0.6293 GB, free: 1.902 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.7046, allocations: 177.7 kB / 0.6295 GB, free: 1.73 MB / 462.3 MB Notification: Performance of SimCode: time 4.11e-07/0.7046, allocations: 0 / 0.6295 GB, free: 1.73 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.7335, allocations: 17.36 MB / 0.6464 GB, free: 0.6328 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.7339, allocations: 262.4 kB / 0.6467 GB, free: 280 kB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.714, allocations: 3.094 kB / 0.6467 GB, free: 280 kB / 478.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_40_res.mat does not exist to compare? outputFormat=mat