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.001783/0.001783, allocations: 176.4 kB / 8.348 MB, free: 0.7266 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.843/1.843, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.001191/0.001191, allocations: 87.61 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.442/1.442, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.913e-05, allocations: 0 / 0.5289 GB, free: 1.215 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8559, allocations: 82.84 MB / 0.6098 GB, free: 12.98 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/1.047, allocations: 124.6 MB / 0.7315 GB, free: 200 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.047, allocations: 55.97 kB / 0.7315 GB, free: 144 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01409/1.061, allocations: 4.466 MB / 0.7359 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.465e-06/1.062, allocations: 0 / 0.7359 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.803e-05/1.062, allocations: 8 kB / 0.7359 GB, free: 11.65 MB / 0.5419 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.001193/1.063, allocations: 0.6393 MB / 0.7365 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.063, allocations: 12.03 kB / 0.7366 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.914e-05/1.063, allocations: 31.67 kB / 0.7366 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/1.063, allocations: 239.1 kB / 0.7368 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.063, allocations: 8 kB / 0.7368 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/1.063, allocations: 39.81 kB / 0.7369 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003592/1.064, allocations: 205 kB / 0.7371 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/1.064, allocations: 303.5 kB / 0.7373 GB, free: 10.1 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.064, allocations: 8 kB / 0.7373 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/1.064, allocations: 3.953 kB / 0.7374 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/1.064, allocations: 4 kB / 0.7374 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/1.065, allocations: 419.2 kB / 0.7378 GB, free: 9.637 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/1.066, allocations: 453.6 kB / 0.7382 GB, free: 9.18 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/1.066, allocations: 218.5 kB / 0.7384 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/1.066, allocations: 8.562 kB / 0.7384 GB, free: 8.957 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/1.066, allocations: 35.12 kB / 0.7384 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=60): time 1.833e-06/1.066, allocations: 0 / 0.7384 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of matching and sorting (n=60): time 0.001691/1.068, allocations: 0.7292 MB / 0.7392 GB, free: 8.172 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.068, allocations: 55.97 kB / 0.7392 GB, free: 8.105 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/1.068, allocations: 109 kB / 0.7393 GB, free: 7.992 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/1.068, allocations: 25.7 kB / 0.7393 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/1.068, allocations: 93.33 kB / 0.7394 GB, free: 7.867 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/1.068, allocations: 240.4 kB / 0.7397 GB, free: 7.629 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/1.068, allocations: 0 / 0.7397 GB, free: 7.629 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.068, allocations: 338.8 kB / 0.74 GB, free: 7.289 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/1.069, allocations: 242.5 kB / 0.7402 GB, free: 7.051 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/1.069, allocations: 397.5 kB / 0.7406 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/1.07, allocations: 305.9 kB / 0.7409 GB, free: 6.301 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.07, allocations: 7.953 kB / 0.7409 GB, free: 6.293 MB / 0.5419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001866/1.071, allocations: 0.9443 MB / 0.7418 GB, free: 5.34 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.072, allocations: 7.938 kB / 0.7418 GB, free: 5.332 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.072, allocations: 8 kB / 0.7418 GB, free: 5.324 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/1.073, allocations: 312.5 kB / 0.7421 GB, free: 5.016 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/1.073, allocations: 163.8 kB / 0.7423 GB, free: 4.855 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/1.077, allocations: 2.742 MB / 0.745 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/1.078, allocations: 47.36 kB / 0.745 GB, free: 1.953 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/1.078, allocations: 28 kB / 0.745 GB, free: 1.926 MB / 0.5419 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 () * 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.0001615/1.078, allocations: 129.5 kB / 0.7451 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001539/1.079, allocations: 0.7213 MB / 0.7459 GB, free: 1.066 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/1.079, allocations: 19.81 kB / 0.7459 GB, free: 1.047 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/1.08, allocations: 54.5 kB / 0.7459 GB, free: 0.9883 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.08, allocations: 8 kB / 0.7459 GB, free: 0.9805 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.08, allocations: 4 kB / 0.7459 GB, free: 0.9766 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.08, allocations: 3.984 kB / 0.7459 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/1.08, allocations: 414.1 kB / 0.7463 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.08, allocations: 0 / 0.7463 GB, free: 0.5312 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/1.081, allocations: 139.8 kB / 0.7465 GB, free: 404 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/1.082, allocations: 313.5 kB / 0.7468 GB, free: 88 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/1.082, allocations: 27.97 kB / 0.7468 GB, free: 60 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9549/2.037, allocations: 2.703 MB / 0.7494 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/2.037, allocations: 0.6562 kB / 0.7494 GB, free: 134.2 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/2.04, allocations: 1.106 MB / 0.7505 GB, free: 133.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/2.04, allocations: 100.2 kB / 0.7506 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/2.04, allocations: 16.95 kB / 0.7506 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/2.041, allocations: 15.94 kB / 0.7506 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/2.041, allocations: 41.53 kB / 0.7507 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/2.041, allocations: 17.62 kB / 0.7507 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 4.385e-05/2.041, allocations: 78.47 kB / 0.7508 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.2e-07/2.041, allocations: 0 / 0.7508 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0009794/2.042, allocations: 121.2 kB / 0.7509 GB, free: 133.8 MB / 0.5421 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 () * 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.003261/2.045, allocations: 1.673 MB / 0.7525 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.002439/2.048, allocations: 0.825 MB / 0.7533 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/2.048, allocations: 0.7812 kB / 0.7533 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/2.049, allocations: 0.5159 MB / 0.7538 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/2.049, allocations: 5.078 kB / 0.7538 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/2.055, allocations: 3.338 MB / 0.7571 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/2.056, allocations: 0.8153 MB / 0.7579 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004107/2.056, allocations: 145.6 kB / 0.758 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/2.056, allocations: 88.95 kB / 0.7581 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of SimCode: time 6.81e-07/2.056, allocations: 0 / 0.7581 GB, free: 129.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/2.089, allocations: 8.274 MB / 0.7662 GB, free: 124.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/2.09, allocations: 206.1 kB / 0.7664 GB, free: 124.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/4.731, allocations: 0 / 0.7664 GB, free: 124.6 MB / 0.5421 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