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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 103 kB / 16.62 MB, free: 6.805 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.001179/0.001179, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.462/1.462, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9478/0.9478, allocations: 119.3 MB / 410.7 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.4905 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5258, allocations: 80.69 MB / 0.5693 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002364/0.5282, allocations: 1.273 MB / 0.5706 GB, free: 42.49 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001839/0.5284, allocations: 42.94 kB / 0.5706 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.558e-05/0.5284, allocations: 0 / 0.5706 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.087e-05/0.5285, allocations: 3.984 kB / 0.5706 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.5286, allocations: 14.58 kB / 0.5706 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.5288, allocations: 23.48 kB / 0.5707 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.529, allocations: 102.5 kB / 0.5708 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.529, allocations: 2.781 kB / 0.5708 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 4.769e-05/0.5291, allocations: 36.16 kB / 0.5708 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.5291, allocations: 46.25 kB / 0.5708 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.5292, allocations: 4.656 kB / 0.5708 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.5292, allocations: 4.094 kB / 0.5709 GB, free: 42.33 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.5292, allocations: 25.53 kB / 0.5709 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.5293, allocations: 27.73 kB / 0.5709 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.008e-05/0.5294, allocations: 55.33 kB / 0.571 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5294, allocations: 0 / 0.571 GB, free: 42.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5294, allocations: 0 / 0.571 GB, free: 42.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.5294, allocations: 0 / 0.571 GB, free: 42.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000572/0.53, allocations: 406 kB / 0.5713 GB, free: 41.87 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.53, allocations: 9.625 kB / 0.5714 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.53, allocations: 36.12 kB / 0.5714 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.5301, allocations: 5.062 kB / 0.5714 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.5302, allocations: 185.8 kB / 0.5716 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.5302, allocations: 7.125 kB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.5302, allocations: 7.25 kB / 0.5716 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.5305, allocations: 99 kB / 0.5717 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5305, allocations: 3.938 kB / 0.5717 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5305, allocations: 5.312 kB / 0.5717 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5305, allocations: 1.375 kB / 0.5717 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.5306, allocations: 39.34 kB / 0.5717 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.5308, allocations: 209.2 kB / 0.5719 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.5313, allocations: 143.6 kB / 0.5721 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.5313, allocations: 49.08 kB / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.5314, allocations: 5.344 kB / 0.5721 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.5314, allocations: 31.84 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.5314, allocations: 1.094 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0006966/0.5321, allocations: 311.8 kB / 0.5724 GB, free: 40.92 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.5321, allocations: 52.94 kB / 0.5725 GB, free: 40.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.273e-05/0.5322, allocations: 103 kB / 0.5726 GB, free: 40.75 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.5322, allocations: 31.27 kB / 0.5726 GB, free: 40.71 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/0.5322, allocations: 80.14 kB / 0.5727 GB, free: 40.63 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.5322, allocations: 58.42 kB / 0.5728 GB, free: 40.58 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.5324, allocations: 39.09 kB / 0.5728 GB, free: 40.55 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/0.5324, allocations: 321.3 kB / 0.5731 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.5325, allocations: 57.5 kB / 0.5731 GB, free: 40.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.582e-05/0.5326, allocations: 90.67 kB / 0.5732 GB, free: 40.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.5328, allocations: 147.3 kB / 0.5734 GB, free: 40.04 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5328, allocations: 0 / 0.5734 GB, free: 40.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000406/0.5332, allocations: 228.9 kB / 0.5736 GB, free: 39.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.5332, allocations: 17.47 kB / 0.5736 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5332, allocations: 1.312 kB / 0.5736 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.5335, allocations: 57.95 kB / 0.5737 GB, free: 39.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5336, allocations: 34.83 kB / 0.5737 GB, free: 39.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5349, allocations: 1.579 MB / 0.5752 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.957e-05/0.5349, allocations: 11.56 kB / 0.5753 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5349, allocations: 7.969 kB / 0.5753 GB, free: 38.32 MB / 462.3 MB 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 () * Number of clocked 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.5351, allocations: 127.9 kB / 0.5754 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.5351, allocations: 3.625 kB / 0.5754 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.5351, allocations: 15.97 kB / 0.5754 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5351, allocations: 1.312 kB / 0.5754 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5351, allocations: 1.375 kB / 0.5754 GB, free: 38.17 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5352, allocations: 4.062 kB / 0.5754 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.5353, allocations: 216.8 kB / 0.5756 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5353, allocations: 0 / 0.5756 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.5354, allocations: 25.58 kB / 0.5756 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.5357, allocations: 56.06 kB / 0.5757 GB, free: 37.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5357, allocations: 11.83 kB / 0.5757 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.5367, allocations: 1.582 MB / 0.5772 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5367, allocations: 0 / 0.5772 GB, free: 36.36 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.5371, allocations: 258.3 kB / 0.5775 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.5372, allocations: 91.52 kB / 0.5776 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5372, allocations: 2.5 kB / 0.5776 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.5372, allocations: 9.328 kB / 0.5776 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.5373, allocations: 13.02 kB / 0.5776 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.5373, allocations: 1.625 kB / 0.5776 GB, free: 36.08 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.623e-05/0.5373, allocations: 77.81 kB / 0.5777 GB, free: 36 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5373, allocations: 3.938 kB / 0.5777 GB, free: 36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002486/0.5376, allocations: 33.09 kB / 0.5777 GB, free: 35.99 MB / 462.3 MB 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 () * Number of clocked 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 (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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006208/0.5382, allocations: 0.7977 MB / 0.5785 GB, free: 35.29 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.5388, allocations: 267.1 kB / 0.5788 GB, free: 35.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5388, allocations: 1.438 kB / 0.5788 GB, free: 35.11 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.539, allocations: 199 kB / 0.5789 GB, free: 34.95 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.5392, allocations: 7.594 kB / 0.5789 GB, free: 34.95 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.5412, allocations: 2.219 MB / 0.5811 GB, free: 33.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.5413, allocations: 0.7008 MB / 0.5818 GB, free: 32.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 5.074e-05/0.5414, allocations: 29.03 kB / 0.5818 GB, free: 32.35 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.5414, allocations: 19.56 kB / 0.5818 GB, free: 32.33 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.5414, allocations: 0 / 0.5818 GB, free: 32.33 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.5602, allocations: 2.729 MB / 0.5845 GB, free: 31.08 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.5604, allocations: 281.4 kB / 0.5848 GB, free: 30.7 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.552, allocations: 2.656 kB / 0.5848 GB, free: 30.7 MB / 462.3 MB (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/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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches