Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_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.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",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.001198/0.001198, allocations: 180.6 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.373/1.373, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001072/0.001072, allocations: 92.02 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7936/0.7936, allocations: 120.5 MB / 463 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003592, allocations: 8 kB / 0.5434 GB, free: 42.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1835, allocations: 82.85 MB / 0.6243 GB, free: 9.121 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.845/1.029, allocations: 125.4 MB / 0.7468 GB, free: 8.5 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.029, allocations: 64.5 kB / 0.7468 GB, free: 8.469 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.007179/1.036, allocations: 2.426 MB / 0.7492 GB, free: 6.254 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.184e-06/1.036, allocations: 0 / 0.7492 GB, free: 6.254 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.036, allocations: 4 kB / 0.7492 GB, free: 6.25 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007114/1.037, allocations: 490.7 kB / 0.7497 GB, free: 5.734 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.037, allocations: 12.03 kB / 0.7497 GB, free: 5.723 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.553e-05/1.037, allocations: 50.3 kB / 0.7497 GB, free: 5.672 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/1.037, allocations: 15.81 kB / 0.7497 GB, free: 5.656 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/1.037, allocations: 202.9 kB / 0.7499 GB, free: 5.418 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/1.037, allocations: 15.81 kB / 0.7499 GB, free: 5.41 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/1.037, allocations: 27.03 kB / 0.75 GB, free: 5.391 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/1.038, allocations: 180.3 kB / 0.7501 GB, free: 5.242 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.038, allocations: 3.953 kB / 0.7501 GB, free: 5.238 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/1.038, allocations: 7.938 kB / 0.7501 GB, free: 5.234 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.038, allocations: 4 kB / 0.7502 GB, free: 5.23 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/1.038, allocations: 111 kB / 0.7503 GB, free: 5.145 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/1.038, allocations: 314.5 kB / 0.7506 GB, free: 4.828 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/1.039, allocations: 276.3 kB / 0.7508 GB, free: 4.613 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/1.039, allocations: 4 kB / 0.7508 GB, free: 4.609 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.039, allocations: 37.48 kB / 0.7509 GB, free: 4.566 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/1.039, allocations: 0 / 0.7509 GB, free: 4.566 MB / 0.5107 GB Notification: Performance of matching and sorting (n=30): time 0.001814/1.041, allocations: 0.665 MB / 0.7515 GB, free: 3.961 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/1.041, allocations: 55.41 kB / 0.7516 GB, free: 3.895 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/1.041, allocations: 108.2 kB / 0.7517 GB, free: 3.789 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.041, allocations: 29.64 kB / 0.7517 GB, free: 3.758 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/1.041, allocations: 88.73 kB / 0.7518 GB, free: 3.668 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/1.041, allocations: 121.8 kB / 0.7519 GB, free: 3.566 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/1.041, allocations: 7.938 kB / 0.7519 GB, free: 3.562 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.041, allocations: 330.2 kB / 0.7522 GB, free: 3.238 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/1.041, allocations: 127.5 kB / 0.7523 GB, free: 3.145 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/1.042, allocations: 219.8 kB / 0.7525 GB, free: 2.934 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/1.042, allocations: 161.6 kB / 0.7527 GB, free: 2.82 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.042, allocations: 0 / 0.7527 GB, free: 2.82 MB / 0.5107 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009953/1.043, allocations: 0.5273 MB / 0.7532 GB, free: 2.383 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.043, allocations: 11.12 kB / 0.7532 GB, free: 2.375 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.043, allocations: 0 / 0.7532 GB, free: 2.375 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007551/1.044, allocations: 160.5 kB / 0.7534 GB, free: 2.227 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/1.044, allocations: 83.72 kB / 0.7535 GB, free: 2.148 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/1.046, allocations: 2.051 MB / 0.7555 GB, free: 176 kB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.047, allocations: 27.62 kB / 0.7555 GB, free: 152 kB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/1.047, allocations: 15.81 kB / 0.7555 GB, free: 140 kB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001821/1.047, allocations: 145.2 kB / 0.7556 GB, free: 15.99 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/1.047, allocations: 11.97 kB / 0.7557 GB, free: 15.98 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.26e-05/1.047, allocations: 35.66 kB / 0.7557 GB, free: 15.96 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.047, allocations: 0 / 0.7557 GB, free: 15.96 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.047, allocations: 4 kB / 0.7557 GB, free: 15.96 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.047, allocations: 0 / 0.7557 GB, free: 15.96 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/1.047, allocations: 307.6 kB / 0.756 GB, free: 15.64 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.047, allocations: 3.953 kB / 0.756 GB, free: 15.64 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/1.048, allocations: 71.72 kB / 0.7561 GB, free: 15.57 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006696/1.048, allocations: 156.2 kB / 0.7562 GB, free: 15.43 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/1.048, allocations: 16.17 kB / 0.7562 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/1.051, allocations: 2.042 MB / 0.7582 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.051, allocations: 0 / 0.7582 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/1.052, allocations: 0.589 MB / 0.7588 GB, free: 12.95 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/1.052, allocations: 96.88 kB / 0.7589 GB, free: 12.84 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/1.052, allocations: 15.8 kB / 0.7589 GB, free: 12.83 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/1.052, allocations: 11.94 kB / 0.7589 GB, free: 12.82 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/1.052, allocations: 23.95 kB / 0.7589 GB, free: 12.8 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.052, allocations: 11.94 kB / 0.7589 GB, free: 12.79 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 4.731e-05/1.052, allocations: 79.45 kB / 0.759 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 0.759 GB, free: 12.71 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.000367/1.053, allocations: 75.7 kB / 0.7591 GB, free: 12.65 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/1.054, allocations: 1.13 MB / 0.7602 GB, free: 11.6 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.055, allocations: 0.4953 MB / 0.7607 GB, free: 11.17 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.055, allocations: 0.625 kB / 0.7607 GB, free: 11.17 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/1.056, allocations: 333.3 kB / 0.761 GB, free: 10.87 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/1.056, allocations: 11.81 kB / 0.761 GB, free: 10.86 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/1.06, allocations: 4.403 MB / 0.7653 GB, free: 6.602 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/1.061, allocations: 0.7443 MB / 0.766 GB, free: 5.832 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001729/1.061, allocations: 69.94 kB / 0.7661 GB, free: 5.762 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/1.061, allocations: 42.48 kB / 0.7661 GB, free: 5.742 MB / 0.5263 GB Notification: Performance of SimCode: time 1.663e-06/1.061, allocations: 0 / 0.7661 GB, free: 5.742 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/1.081, allocations: 4.81 MB / 0.7708 GB, free: 1.184 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.081, allocations: 261.1 kB / 0.7711 GB, free: 0.8398 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/3.045, allocations: 0 / 0.7711 GB, free: 0.8398 MB / 0.5263 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat does not exist to compare? outputFormat=mat