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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 87.42 kB / 16.31 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007571/0.0007572, allocations: 180.6 kB / 17.21 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.2 MB / 241.2 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8994/0.8994, allocations: 120.5 MB / 412.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.000384, allocations: 8 kB / 0.4944 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5335, allocations: 82.84 MB / 0.5753 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.001245/0.5348, allocations: 0.9455 MB / 0.5762 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001729/0.535, allocations: 43.86 kB / 0.5762 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.535, allocations: 0 / 0.5762 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.5351, allocations: 3.984 kB / 0.5762 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.5352, allocations: 6.828 kB / 0.5762 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.5353, allocations: 21.03 kB / 0.5762 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.5357, allocations: 387.1 kB / 0.5766 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.5357, allocations: 10.55 kB / 0.5766 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.5358, allocations: 148.4 kB / 0.5768 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.536, allocations: 157.6 kB / 0.5769 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.5361, allocations: 27.31 kB / 0.5769 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.5361, allocations: 22.28 kB / 0.577 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.5363, allocations: 133 kB / 0.5771 GB, free: 40.67 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.5363, allocations: 60.23 kB / 0.5772 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.5365, allocations: 177.7 kB / 0.5773 GB, free: 40.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5365, allocations: 0 / 0.5773 GB, free: 40.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5365, allocations: 0 / 0.5773 GB, free: 40.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.5365, allocations: 5.125 kB / 0.5773 GB, free: 40.54 MB / 462.3 MB 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.001335/0.5378, allocations: 0.7229 MB / 0.578 GB, free: 39.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.5379, allocations: 9.625 kB / 0.578 GB, free: 39.99 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.538, allocations: 68.17 kB / 0.5781 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.538, allocations: 26.89 kB / 0.5781 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5382, allocations: 241.4 kB / 0.5784 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.5383, allocations: 27.69 kB / 0.5784 GB, free: 39.66 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.5383, allocations: 55.44 kB / 0.5784 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.5388, allocations: 332.5 kB / 0.5788 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.5389, allocations: 8.5 kB / 0.5788 GB, free: 39.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.5389, allocations: 10.78 kB / 0.5788 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.5389, allocations: 9.484 kB / 0.5788 GB, free: 39.43 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.5393, allocations: 216.7 kB / 0.579 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.5398, allocations: 482.5 kB / 0.5795 GB, free: 38.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.5406, allocations: 492.2 kB / 0.5799 GB, free: 38.74 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.541, allocations: 240.8 kB / 0.5802 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.5411, allocations: 5.812 kB / 0.5802 GB, free: 38.62 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.5411, allocations: 38.03 kB / 0.5802 GB, free: 38.58 MB / 462.3 MB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/0.5411, allocations: 0 / 0.5802 GB, free: 38.58 MB / 462.3 MB Notification: Performance of matching and sorting (n=60): time 0.003144/0.5442, allocations: 1.244 MB / 0.5814 GB, free: 37.91 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.5444, allocations: 62.25 kB / 0.5815 GB, free: 37.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.174e-05/0.5444, allocations: 112.8 kB / 0.5816 GB, free: 37.73 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.5445, allocations: 45.42 kB / 0.5816 GB, free: 37.68 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.5445, allocations: 97.22 kB / 0.5817 GB, free: 37.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5446, allocations: 244.6 kB / 0.5819 GB, free: 37.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.5447, allocations: 14.53 kB / 0.582 GB, free: 37.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.5447, allocations: 344.9 kB / 0.5823 GB, free: 37.02 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.5451, allocations: 253.5 kB / 0.5825 GB, free: 36.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.5456, allocations: 426.5 kB / 0.5829 GB, free: 36.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.546, allocations: 324.3 kB / 0.5832 GB, free: 36.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5461, allocations: 1.688 kB / 0.5832 GB, free: 36.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001743/0.5478, allocations: 1.006 MB / 0.5842 GB, free: 35.96 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5478, allocations: 7.469 kB / 0.5842 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5478, allocations: 4.188 kB / 0.5842 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.5489, allocations: 295 kB / 0.5845 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.5494, allocations: 168.8 kB / 0.5847 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.5527, allocations: 2.891 MB / 0.5875 GB, free: 33.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.553, allocations: 55.44 kB / 0.5876 GB, free: 33.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.553, allocations: 28.06 kB / 0.5876 GB, free: 33.3 MB / 462.3 MB 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.0001374/0.5531, allocations: 177.6 kB / 0.5878 GB, free: 33.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.5532, allocations: 23.91 kB / 0.5878 GB, free: 33.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.5533, allocations: 61.88 kB / 0.5878 GB, free: 33.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5534, allocations: 7.984 kB / 0.5878 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.5534, allocations: 7.953 kB / 0.5879 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5534, allocations: 3.984 kB / 0.5879 GB, free: 33.01 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.5538, allocations: 453.6 kB / 0.5883 GB, free: 32.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.5538, allocations: 4 kB / 0.5883 GB, free: 32.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/0.5545, allocations: 135.9 kB / 0.5884 GB, free: 32.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009068/0.5554, allocations: 296.5 kB / 0.5887 GB, free: 32.09 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/0.5555, allocations: 27.97 kB / 0.5887 GB, free: 32.06 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.5585, allocations: 2.891 MB / 0.5916 GB, free: 29.04 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5586, allocations: 0 / 0.5916 GB, free: 29.04 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5601, allocations: 1.124 MB / 0.5927 GB, free: 27.9 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.5602, allocations: 108.7 kB / 0.5928 GB, free: 27.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.5602, allocations: 19.98 kB / 0.5928 GB, free: 27.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5604, allocations: 15.98 kB / 0.5928 GB, free: 27.74 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.5604, allocations: 44.5 kB / 0.5928 GB, free: 27.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.5605, allocations: 12 kB / 0.5928 GB, free: 27.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.5606, allocations: 83.27 kB / 0.5929 GB, free: 27.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5606, allocations: 0 / 0.5929 GB, free: 27.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005307/0.5611, allocations: 144 kB / 0.5931 GB, free: 27.46 MB / 462.3 MB 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.001718/0.5629, allocations: 1.708 MB / 0.5947 GB, free: 25.72 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.5643, allocations: 0.8847 MB / 0.5956 GB, free: 24.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5643, allocations: 0 / 0.5956 GB, free: 24.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008295/0.5652, allocations: 0.5553 MB / 0.5961 GB, free: 24.26 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.5654, allocations: 24.95 kB / 0.5962 GB, free: 24.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.5711, allocations: 5.565 MB / 0.6016 GB, free: 18.55 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.5714, allocations: 0.8122 MB / 0.6024 GB, free: 17.71 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002741/0.5717, allocations: 147.1 kB / 0.6025 GB, free: 17.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5718, allocations: 83.41 kB / 0.6026 GB, free: 17.49 MB / 462.3 MB Notification: Performance of SimCode: time 1.192e-06/0.5719, allocations: 0 / 0.6026 GB, free: 17.49 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.5911, allocations: 8.834 MB / 0.6112 GB, free: 8.922 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001534/0.5913, allocations: 268.9 kB / 0.6115 GB, free: 8.562 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.376, allocations: 7.312 kB / 0.6115 GB, free: 8.559 MB / 462.3 MB (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) Environment - environmentSimulation: 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