Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",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.001151/0.001151, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.361/1.361, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008405, allocations: 90.44 kB / 291.5 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8015/0.8015, allocations: 120.5 MB / 463 MB, free: 8.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8 kB / 0.5434 GB, free: 42.33 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1921, allocations: 82.86 MB / 0.6243 GB, free: 9.152 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8961/1.088, allocations: 125.4 MB / 0.7468 GB, free: 8.543 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.089, allocations: 66.5 kB / 0.7468 GB, free: 8.512 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01448/1.103, allocations: 4.465 MB / 0.7512 GB, free: 4.43 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.735e-06/1.103, allocations: 0 / 0.7512 GB, free: 4.43 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.569e-05/1.103, allocations: 8 kB / 0.7512 GB, free: 4.422 MB / 0.5107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001339/1.105, allocations: 0.656 MB / 0.7518 GB, free: 3.73 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.105, allocations: 8.031 kB / 0.7518 GB, free: 3.723 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/1.105, allocations: 69.42 kB / 0.7519 GB, free: 3.66 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/1.105, allocations: 23.75 kB / 0.7519 GB, free: 3.641 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/1.105, allocations: 231.2 kB / 0.7521 GB, free: 3.375 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/1.105, allocations: 28.38 kB / 0.7522 GB, free: 3.359 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/1.105, allocations: 63.11 kB / 0.7522 GB, free: 3.316 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/1.106, allocations: 337.1 kB / 0.7526 GB, free: 3.047 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/1.106, allocations: 11.72 kB / 0.7526 GB, free: 3.039 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/1.106, allocations: 19.7 kB / 0.7526 GB, free: 3.027 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.106, allocations: 4 kB / 0.7526 GB, free: 3.023 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/1.106, allocations: 220.4 kB / 0.7528 GB, free: 2.852 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/1.107, allocations: 483.4 kB / 0.7533 GB, free: 2.406 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/1.108, allocations: 489.6 kB / 0.7537 GB, free: 2.043 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/1.108, allocations: 4.562 kB / 0.7537 GB, free: 2.039 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.108, allocations: 46.92 kB / 0.7538 GB, free: 1.988 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/1.108, allocations: 4 kB / 0.7538 GB, free: 1.984 MB / 0.5107 GB Notification: Performance of matching and sorting (n=60): time 0.004137/1.112, allocations: 1.351 MB / 0.7551 GB, free: 0.7852 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.112, allocations: 59.97 kB / 0.7552 GB, free: 0.7148 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/1.112, allocations: 100.7 kB / 0.7552 GB, free: 0.6172 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/1.112, allocations: 41.39 kB / 0.7553 GB, free: 0.582 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/1.112, allocations: 93.14 kB / 0.7554 GB, free: 0.4961 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/1.113, allocations: 242.8 kB / 0.7556 GB, free: 296 kB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/1.113, allocations: 15.75 kB / 0.7556 GB, free: 292 kB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.113, allocations: 354.4 kB / 0.756 GB, free: 15.95 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.113, allocations: 259.4 kB / 0.7562 GB, free: 15.75 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/1.114, allocations: 429.4 kB / 0.7566 GB, free: 15.34 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/1.114, allocations: 323.6 kB / 0.7569 GB, free: 15.11 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.114, allocations: 4 kB / 0.7569 GB, free: 15.11 MB / 0.5263 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001951/1.116, allocations: 1.041 MB / 0.7579 GB, free: 14.26 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/1.116, allocations: 4 kB / 0.758 GB, free: 14.25 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.116, allocations: 8 kB / 0.758 GB, free: 14.25 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/1.117, allocations: 321.5 kB / 0.7583 GB, free: 13.95 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/1.118, allocations: 159 kB / 0.7584 GB, free: 13.8 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/1.122, allocations: 2.99 MB / 0.7613 GB, free: 11.1 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/1.122, allocations: 62.98 kB / 0.7614 GB, free: 11.05 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/1.122, allocations: 35.44 kB / 0.7614 GB, free: 11.02 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (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%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/1.122, allocations: 179.2 kB / 0.7616 GB, free: 10.86 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/1.123, allocations: 23.66 kB / 0.7616 GB, free: 10.84 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/1.123, allocations: 70.38 kB / 0.7617 GB, free: 10.82 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.123, allocations: 4 kB / 0.7617 GB, free: 10.82 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.123, allocations: 4 kB / 0.7617 GB, free: 10.82 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.123, allocations: 0 / 0.7617 GB, free: 10.82 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/1.123, allocations: 466.2 kB / 0.7621 GB, free: 10.38 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.123, allocations: 4.125 kB / 0.7621 GB, free: 10.38 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/1.124, allocations: 135.4 kB / 0.7623 GB, free: 10.25 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/1.125, allocations: 315.6 kB / 0.7626 GB, free: 9.961 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/1.125, allocations: 33.39 kB / 0.7626 GB, free: 9.938 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003968/1.129, allocations: 2.979 MB / 0.7655 GB, free: 7.25 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.129, allocations: 3.953 kB / 0.7655 GB, free: 7.246 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.132, allocations: 1.158 MB / 0.7667 GB, free: 6.289 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/1.132, allocations: 108.6 kB / 0.7668 GB, free: 6.164 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/1.132, allocations: 23.73 kB / 0.7668 GB, free: 6.148 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/1.132, allocations: 19.8 kB / 0.7668 GB, free: 6.137 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/1.132, allocations: 52.3 kB / 0.7668 GB, free: 6.09 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/1.132, allocations: 12.75 kB / 0.7669 GB, free: 6.082 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 3.519e-05/1.132, allocations: 79.28 kB / 0.7669 GB, free: 6.004 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.1e-07/1.132, allocations: 0 / 0.7669 GB, free: 6.004 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004831/1.133, allocations: 150.9 kB / 0.7671 GB, free: 5.883 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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]) * 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 (41): * Single equations (assignments): 40 * 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%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002383/1.135, allocations: 1.743 MB / 0.7688 GB, free: 4.344 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001631/1.137, allocations: 0.8856 MB / 0.7696 GB, free: 3.594 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.137, allocations: 1.188 kB / 0.7696 GB, free: 3.594 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.138, allocations: 0.5646 MB / 0.7702 GB, free: 3.098 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/1.138, allocations: 11.75 kB / 0.7702 GB, free: 3.094 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007786/1.146, allocations: 8.578 MB / 0.7786 GB, free: 10.84 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/1.146, allocations: 0.8162 MB / 0.7794 GB, free: 10 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002864/1.146, allocations: 143.1 kB / 0.7795 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/1.147, allocations: 89.72 kB / 0.7796 GB, free: 9.828 MB / 0.5419 GB Notification: Performance of SimCode: time 5.91e-07/1.147, allocations: 0 / 0.7796 GB, free: 9.828 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/1.171, allocations: 8.823 MB / 0.7882 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.171, allocations: 252.3 kB / 0.7885 GB, free: 0.9297 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.701, allocations: 3.375 kB / 0.7885 GB, free: 0.9297 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat does not exist to compare? outputFormat=mat