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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001772, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001455/0.001456, allocations: 190 kB / 17.54 MB, free: 6.066 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.315/1.315, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9592/0.9592, allocations: 119.3 MB / 410.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.4905 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5788, allocations: 80.69 MB / 0.5693 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002331/0.5812, allocations: 1.282 MB / 0.5706 GB, free: 42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.5814, allocations: 50.11 kB / 0.5706 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.5814, allocations: 1.094 kB / 0.5706 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.418e-05/0.5815, allocations: 3.984 kB / 0.5707 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.5816, allocations: 13.73 kB / 0.5707 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.5818, allocations: 16.41 kB / 0.5707 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.5821, allocations: 234.4 kB / 0.5709 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.5822, allocations: 2.25 kB / 0.5709 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.984e-05/0.5823, allocations: 78.44 kB / 0.571 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.5824, allocations: 80.86 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.5824, allocations: 12.25 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.031e-05/0.5825, allocations: 11.22 kB / 0.5711 GB, free: 41.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.5825, allocations: 73.61 kB / 0.5711 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.108e-05/0.5826, allocations: 69.7 kB / 0.5712 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.5828, allocations: 116.5 kB / 0.5713 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5828, allocations: 1.094 kB / 0.5713 GB, free: 41.58 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5828, allocations: 0 / 0.5713 GB, free: 41.58 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.5828, allocations: 0 / 0.5713 GB, free: 41.58 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008751/0.5837, allocations: 0.529 MB / 0.5718 GB, free: 41.12 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5837, allocations: 9.281 kB / 0.5719 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.5838, allocations: 48.42 kB / 0.5719 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.5838, allocations: 12.84 kB / 0.5719 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.584, allocations: 201.9 kB / 0.5721 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.584, allocations: 15.34 kB / 0.5721 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.5841, allocations: 32.67 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.5844, allocations: 177.6 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.5844, allocations: 6.781 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.5844, allocations: 4 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5845, allocations: 8.344 kB / 0.5723 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.5847, allocations: 104.9 kB / 0.5724 GB, free: 40.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.585, allocations: 310.3 kB / 0.5727 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.5855, allocations: 276.5 kB / 0.573 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.5857, allocations: 124.7 kB / 0.5731 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.5858, allocations: 3.406 kB / 0.5731 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.5858, allocations: 40.84 kB / 0.5732 GB, free: 40.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.5858, allocations: 0 / 0.5732 GB, free: 40.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001603/0.5874, allocations: 0.6258 MB / 0.5738 GB, free: 39.76 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.5874, allocations: 54.97 kB / 0.5738 GB, free: 39.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.808e-05/0.5875, allocations: 108 kB / 0.5739 GB, free: 39.59 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.5875, allocations: 34.95 kB / 0.574 GB, free: 39.55 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.069e-05/0.5875, allocations: 87.2 kB / 0.574 GB, free: 39.46 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.5876, allocations: 116.9 kB / 0.5742 GB, free: 39.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.5877, allocations: 79.12 kB / 0.5742 GB, free: 39.31 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.5878, allocations: 341.8 kB / 0.5746 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.5879, allocations: 125.4 kB / 0.5747 GB, free: 38.92 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.5882, allocations: 212.9 kB / 0.5749 GB, free: 38.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.5886, allocations: 370.7 kB / 0.5752 GB, free: 38.54 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5886, allocations: 1.281 kB / 0.5752 GB, free: 38.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009705/0.5896, allocations: 0.5209 MB / 0.5757 GB, free: 38.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5896, allocations: 5.125 kB / 0.5757 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5896, allocations: 3.719 kB / 0.5757 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.5903, allocations: 155 kB / 0.5759 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.5906, allocations: 82.19 kB / 0.576 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.5927, allocations: 2.159 MB / 0.5781 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.5929, allocations: 31.5 kB / 0.5781 GB, free: 36.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.5929, allocations: 10.88 kB / 0.5781 GB, free: 36.34 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.593, allocations: 140 kB / 0.5783 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.5931, allocations: 14.31 kB / 0.5783 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.5931, allocations: 37.16 kB / 0.5783 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5931, allocations: 8.625 kB / 0.5783 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.5932, allocations: 5.469 kB / 0.5783 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5932, allocations: 3.984 kB / 0.5783 GB, free: 36.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.5935, allocations: 314.5 kB / 0.5786 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5935, allocations: 0 / 0.5786 GB, free: 35.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.5939, allocations: 61.66 kB / 0.5787 GB, free: 35.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005766/0.5945, allocations: 140.4 kB / 0.5788 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.5945, allocations: 14.86 kB / 0.5788 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.5966, allocations: 2.139 MB / 0.5809 GB, free: 33.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5966, allocations: 8.828 kB / 0.5809 GB, free: 33.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.5976, allocations: 0.5685 MB / 0.5815 GB, free: 33.68 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.5977, allocations: 93.48 kB / 0.5816 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.5977, allocations: 14.23 kB / 0.5816 GB, free: 33.57 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.5978, allocations: 5.844 kB / 0.5816 GB, free: 33.56 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.5979, allocations: 26.06 kB / 0.5816 GB, free: 33.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.5979, allocations: 10.75 kB / 0.5816 GB, free: 33.54 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.598, allocations: 81.09 kB / 0.5817 GB, free: 33.46 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.61e-07/0.598, allocations: 0.9375 kB / 0.5817 GB, free: 33.46 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003651/0.5983, allocations: 78.95 kB / 0.5818 GB, free: 33.45 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/0.5996, allocations: 1.135 MB / 0.5829 GB, free: 32.59 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009972/0.6006, allocations: 0.5436 MB / 0.5834 GB, free: 32.31 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6006, allocations: 0 / 0.5834 GB, free: 32.31 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.6012, allocations: 329.5 kB / 0.5837 GB, free: 32.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.6014, allocations: 12.34 kB / 0.5837 GB, free: 32.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.6062, allocations: 3.996 MB / 0.5876 GB, free: 29.05 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.6064, allocations: 0.746 MB / 0.5884 GB, free: 28.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.6066, allocations: 68.84 kB / 0.5884 GB, free: 28.3 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.6067, allocations: 40.66 kB / 0.5885 GB, free: 28.27 MB / 462.3 MB Notification: Performance of SimCode: time 9.82e-07/0.6067, allocations: 1.406 kB / 0.5885 GB, free: 28.27 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.6317, allocations: 5.148 MB / 0.5935 GB, free: 24.44 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.632, allocations: 290.6 kB / 0.5938 GB, free: 24.05 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.794, allocations: 0 / 0.5938 GB, free: 24.05 MB / 462.3 MB (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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches