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.00159/0.00159, allocations: 174.9 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.67/1.67, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.00117/0.00117, allocations: 89.92 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.37/1.37, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.297e-05, allocations: 7.984 kB / 0.5289 GB, free: 1.215 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6765, allocations: 82.83 MB / 0.6098 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.8424, allocations: 124.6 MB / 0.7315 GB, free: 204 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.8426, allocations: 67.91 kB / 0.7315 GB, free: 136 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.007422/0.8501, allocations: 2.442 MB / 0.7339 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8501, allocations: 0 / 0.7339 GB, free: 13.69 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.8501, allocations: 4 kB / 0.7339 GB, free: 13.68 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006688/0.8508, allocations: 474.2 kB / 0.7344 GB, free: 13.18 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8508, allocations: 12.03 kB / 0.7344 GB, free: 13.16 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.8509, allocations: 15.86 kB / 0.7344 GB, free: 13.15 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.8511, allocations: 202.8 kB / 0.7346 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.8511, allocations: 4 kB / 0.7346 GB, free: 12.91 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.8512, allocations: 19.98 kB / 0.7346 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002071/0.8514, allocations: 99.94 kB / 0.7347 GB, free: 12.79 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.8517, allocations: 161.6 kB / 0.7349 GB, free: 12.62 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/0.8517, allocations: 11.86 kB / 0.7349 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.8517, allocations: 0 / 0.7349 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.8517, allocations: 0 / 0.7349 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.8521, allocations: 273.9 kB / 0.7351 GB, free: 12.31 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.8526, allocations: 250.4 kB / 0.7354 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.8527, allocations: 109.8 kB / 0.7355 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.8528, allocations: 4 kB / 0.7355 GB, free: 11.94 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.8528, allocations: 38.56 kB / 0.7355 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 1.392e-06/0.8528, allocations: 0 / 0.7355 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0008675/0.8537, allocations: 387.6 kB / 0.7359 GB, free: 11.5 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.8537, allocations: 59.34 kB / 0.736 GB, free: 11.43 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.865e-05/0.8538, allocations: 100.9 kB / 0.7361 GB, free: 11.33 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8538, allocations: 25.7 kB / 0.7361 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.8539, allocations: 88.92 kB / 0.7362 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.854, allocations: 122.1 kB / 0.7363 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.854, allocations: 0 / 0.7363 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8541, allocations: 334.8 kB / 0.7366 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.8543, allocations: 112.8 kB / 0.7367 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8545, allocations: 200.9 kB / 0.7369 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.8547, allocations: 155.8 kB / 0.737 GB, free: 10.26 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8547, allocations: 4 kB / 0.737 GB, free: 10.25 MB / 0.5419 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009008/0.8556, allocations: 490 kB / 0.7375 GB, free: 9.766 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8557, allocations: 7.953 kB / 0.7375 GB, free: 9.758 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8557, allocations: 4 kB / 0.7375 GB, free: 9.754 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/0.8564, allocations: 156.6 kB / 0.7377 GB, free: 9.598 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.8566, allocations: 83.91 kB / 0.7378 GB, free: 9.516 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.8588, allocations: 1.9 MB / 0.7396 GB, free: 7.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.8589, allocations: 23.84 kB / 0.7396 GB, free: 7.477 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.859, allocations: 16.28 kB / 0.7397 GB, free: 7.461 MB / 0.5419 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 () * 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.0001048/0.8591, allocations: 116.8 kB / 0.7398 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007559/0.8598, allocations: 387.3 kB / 0.7401 GB, free: 6.949 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.8599, allocations: 11.84 kB / 0.7401 GB, free: 6.938 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.86, allocations: 33.95 kB / 0.7402 GB, free: 6.902 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.86, allocations: 4 kB / 0.7402 GB, free: 6.898 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.86, allocations: 4 kB / 0.7402 GB, free: 6.895 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.86, allocations: 0 / 0.7402 GB, free: 6.895 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.8603, allocations: 265.9 kB / 0.7404 GB, free: 6.598 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8603, allocations: 4 kB / 0.7404 GB, free: 6.594 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.8607, allocations: 67.97 kB / 0.7405 GB, free: 6.527 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005922/0.8613, allocations: 152.6 kB / 0.7407 GB, free: 6.375 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.8613, allocations: 11.98 kB / 0.7407 GB, free: 6.363 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.8633, allocations: 1.892 MB / 0.7425 GB, free: 4.355 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8634, allocations: 4 kB / 0.7425 GB, free: 4.352 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009595/0.8643, allocations: 0.5507 MB / 0.7431 GB, free: 3.781 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.8644, allocations: 100.9 kB / 0.7431 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.8644, allocations: 7.984 kB / 0.7432 GB, free: 3.656 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.8645, allocations: 4 kB / 0.7432 GB, free: 3.652 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.8646, allocations: 23.95 kB / 0.7432 GB, free: 3.629 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.8646, allocations: 12 kB / 0.7432 GB, free: 3.617 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.8647, allocations: 75.73 kB / 0.7433 GB, free: 3.543 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8647, allocations: 0 / 0.7433 GB, free: 3.543 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003286/0.865, allocations: 63.95 kB / 0.7433 GB, free: 3.48 MB / 0.5419 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 () * 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.001235/0.8662, allocations: 1.101 MB / 0.7444 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0008749/0.8671, allocations: 461.5 kB / 0.7448 GB, free: 1.887 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8671, allocations: 4 kB / 0.7448 GB, free: 1.883 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005349/0.8677, allocations: 309.4 kB / 0.7451 GB, free: 1.57 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.8679, allocations: 11.89 kB / 0.7452 GB, free: 1.559 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6655/1.533, allocations: 1.647 MB / 0.7468 GB, free: 135.9 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/1.534, allocations: 0.7486 MB / 0.7475 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002339/1.534, allocations: 68.45 kB / 0.7476 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.534, allocations: 43.91 kB / 0.7476 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of SimCode: time 1.203e-06/1.534, allocations: 0.6562 kB / 0.7476 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/1.564, allocations: 4.333 MB / 0.7518 GB, free: 135.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.564, allocations: 200.7 kB / 0.752 GB, free: 134.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/3.651, allocations: 0 / 0.752 GB, free: 134.9 MB / 0.5421 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