Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",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.001308/0.001308, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.599/1.599, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.001084/0.001085, allocations: 99.73 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.321/1.321, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.658e-05, allocations: 4 kB / 0.5358 GB, free: 12.11 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7066, allocations: 82.83 MB / 0.6167 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.8896, allocations: 125.3 MB / 0.739 GB, free: 11.95 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.8899, allocations: 55.92 kB / 0.7391 GB, free: 11.89 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.00445/0.8944, allocations: 1.266 MB / 0.7403 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8944, allocations: 0 / 0.7403 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.8945, allocations: 0 / 0.7403 GB, free: 10.63 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005768/0.8951, allocations: 374.5 kB / 0.7407 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/0.8951, allocations: 8.031 kB / 0.7407 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.8952, allocations: 38.56 kB / 0.7407 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.8953, allocations: 15.86 kB / 0.7407 GB, free: 10.15 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.8955, allocations: 183 kB / 0.7409 GB, free: 9.93 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.8956, allocations: 8 kB / 0.7409 GB, free: 9.922 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.8956, allocations: 12 kB / 0.7409 GB, free: 9.91 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.8959, allocations: 81.59 kB / 0.741 GB, free: 9.824 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.8959, allocations: 3.906 kB / 0.741 GB, free: 9.82 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.8959, allocations: 11.98 kB / 0.741 GB, free: 9.809 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.8959, allocations: 7.891 kB / 0.741 GB, free: 9.801 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.8961, allocations: 39.98 kB / 0.7411 GB, free: 9.762 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.8964, allocations: 205.6 kB / 0.7413 GB, free: 9.512 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.8968, allocations: 134.5 kB / 0.7414 GB, free: 9.371 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.446e-05/0.8969, allocations: 48.84 kB / 0.7414 GB, free: 9.32 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.897, allocations: 0 / 0.7414 GB, free: 9.32 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.897, allocations: 38.5 kB / 0.7415 GB, free: 9.273 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.897, allocations: 0 / 0.7415 GB, free: 9.273 MB / 0.5419 GB Notification: Performance of matching and sorting (n=12): time 0.0005831/0.8976, allocations: 179 kB / 0.7416 GB, free: 9.086 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.8977, allocations: 55.34 kB / 0.7417 GB, free: 9.02 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.8978, allocations: 96.98 kB / 0.7418 GB, free: 8.918 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.8978, allocations: 25.7 kB / 0.7418 GB, free: 8.887 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.8979, allocations: 88.14 kB / 0.7419 GB, free: 8.797 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.8979, allocations: 47.3 kB / 0.7419 GB, free: 8.75 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.898, allocations: 0 / 0.7419 GB, free: 8.75 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.8981, allocations: 326.8 kB / 0.7422 GB, free: 8.422 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.8982, allocations: 47.98 kB / 0.7423 GB, free: 8.375 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.8984, allocations: 90.8 kB / 0.7424 GB, free: 8.273 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.8985, allocations: 59.95 kB / 0.7424 GB, free: 8.215 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8985, allocations: 4 kB / 0.7424 GB, free: 8.211 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004892/0.899, allocations: 226.1 kB / 0.7427 GB, free: 7.98 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.899, allocations: 11.98 kB / 0.7427 GB, free: 7.969 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8991, allocations: 4 kB / 0.7427 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.8994, allocations: 64.92 kB / 0.7427 GB, free: 7.898 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.8996, allocations: 27.98 kB / 0.7428 GB, free: 7.871 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.9012, allocations: 1.472 MB / 0.7442 GB, free: 6.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.9013, allocations: 15.84 kB / 0.7442 GB, free: 6.246 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.9013, allocations: 7.938 kB / 0.7442 GB, free: 6.238 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.9014, allocations: 121 kB / 0.7443 GB, free: 6.113 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.9015, allocations: 7.891 kB / 0.7443 GB, free: 6.105 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.9015, allocations: 12.09 kB / 0.7444 GB, free: 6.09 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9015, allocations: 4 kB / 0.7444 GB, free: 6.086 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.9016, allocations: 3.953 kB / 0.7444 GB, free: 6.082 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9016, allocations: 0 / 0.7444 GB, free: 6.082 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.9018, allocations: 209.6 kB / 0.7446 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9018, allocations: 0 / 0.7446 GB, free: 5.828 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.902, allocations: 23.98 kB / 0.7446 GB, free: 5.805 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.9023, allocations: 64.8 kB / 0.7446 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.9023, allocations: 0 / 0.7446 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.9039, allocations: 1.48 MB / 0.7461 GB, free: 4.121 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9039, allocations: 3.953 kB / 0.7461 GB, free: 4.117 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.9044, allocations: 262 kB / 0.7463 GB, free: 3.84 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.9045, allocations: 77.11 kB / 0.7464 GB, free: 3.746 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.9045, allocations: 11.98 kB / 0.7464 GB, free: 3.734 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.9046, allocations: 4 kB / 0.7464 GB, free: 3.73 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.9046, allocations: 7.984 kB / 0.7464 GB, free: 3.723 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.9047, allocations: 0 / 0.7464 GB, free: 3.723 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.9047, allocations: 87.28 kB / 0.7465 GB, free: 3.637 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9047, allocations: 0 / 0.7465 GB, free: 3.637 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002758/0.905, allocations: 28 kB / 0.7466 GB, free: 3.609 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[4],v[1],v[2],v[3],v[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007921/0.9058, allocations: 0.8011 MB / 0.7473 GB, free: 2.773 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.9063, allocations: 254.5 kB / 0.7476 GB, free: 2.512 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.9063, allocations: 7.938 kB / 0.7476 GB, free: 2.504 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.9066, allocations: 182.6 kB / 0.7478 GB, free: 2.312 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.9068, allocations: 8.766 kB / 0.7478 GB, free: 2.305 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.9079, allocations: 0.7081 MB / 0.7485 GB, free: 1.562 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.9082, allocations: 0.7082 MB / 0.7492 GB, free: 0.8281 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 7.158e-05/0.9083, allocations: 24.53 kB / 0.7492 GB, free: 0.8047 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.9083, allocations: 19.44 kB / 0.7492 GB, free: 0.7852 MB / 0.5419 GB Notification: Performance of SimCode: time 7.62e-07/0.9083, allocations: 0 / 0.7492 GB, free: 0.7852 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7287/1.637, allocations: 2.493 MB / 0.7516 GB, free: 133 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.637, allocations: 224.9 kB / 0.7518 GB, free: 132.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/3.627, allocations: 0 / 0.7518 GB, free: 132.8 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat does not exist to compare? outputFormat=mat