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.001886/0.001886, allocations: 106.4 kB / 16.92 MB, free: 6.145 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.002835/0.002835, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.834/1.834, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.515/1.515, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 59.91 kB / 0.4911 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8261/0.8276, allocations: 80.68 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.003801/0.8315, allocations: 1.215 MB / 0.571 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.8318, allocations: 46.86 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.8319, allocations: 1.375 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.8321, allocations: 3.938 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.8322, allocations: 2.75 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.8324, allocations: 24.06 kB / 0.5711 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.8326, allocations: 106.7 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.8327, allocations: 2.75 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.8328, allocations: 44.47 kB / 0.5713 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/0.8329, allocations: 32.33 kB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.8329, allocations: 4.969 kB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.377e-05/0.8329, allocations: 4.406 kB / 0.5713 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.8331, allocations: 24.84 kB / 0.5713 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.8331, allocations: 35.06 kB / 0.5713 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.8332, allocations: 47.84 kB / 0.5714 GB, free: 42.2 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8332, allocations: 3.984 kB / 0.5714 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8333, allocations: 4 kB / 0.5714 GB, free: 42.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.8333, allocations: 1.031 kB / 0.5714 GB, free: 42.19 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.001353/0.8346, allocations: 401.4 kB / 0.5718 GB, free: 41.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 0.000112/0.8348, allocations: 9.719 kB / 0.5718 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.8349, allocations: 40.39 kB / 0.5718 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.835, allocations: 4 kB / 0.5718 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.8354, allocations: 182.6 kB / 0.572 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.8355, allocations: 3.094 kB / 0.572 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.8356, allocations: 15.28 kB / 0.572 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.836, allocations: 86.3 kB / 0.5721 GB, free: 41.47 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.836, allocations: 9.031 kB / 0.5721 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.836, allocations: 3.984 kB / 0.5721 GB, free: 41.46 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.836, allocations: 6.656 kB / 0.5721 GB, free: 41.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.8362, allocations: 39.28 kB / 0.5722 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.8366, allocations: 208 kB / 0.5724 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.8371, allocations: 132.9 kB / 0.5725 GB, free: 41.15 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.8372, allocations: 53.27 kB / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.8373, allocations: 1.094 kB / 0.5725 GB, free: 41.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.8373, allocations: 31.69 kB / 0.5726 GB, free: 41.08 MB / 462.3 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.8373, allocations: 4 kB / 0.5726 GB, free: 41.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=12): time 0.0009636/0.8383, allocations: 309.3 kB / 0.5729 GB, free: 40.85 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.8383, allocations: 52.72 kB / 0.5729 GB, free: 40.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.8385, allocations: 102.5 kB / 0.573 GB, free: 40.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.8385, allocations: 27.14 kB / 0.573 GB, free: 40.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.8386, allocations: 97.12 kB / 0.5731 GB, free: 40.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.8386, allocations: 48.3 kB / 0.5732 GB, free: 40.51 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.8387, allocations: 36.08 kB / 0.5732 GB, free: 40.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.8388, allocations: 326.4 kB / 0.5735 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.8389, allocations: 52.14 kB / 0.5736 GB, free: 40.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.8391, allocations: 89.88 kB / 0.5737 GB, free: 40.07 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.8393, allocations: 147.6 kB / 0.5738 GB, free: 39.98 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8393, allocations: 0 / 0.5738 GB, free: 39.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006061/0.8399, allocations: 233.4 kB / 0.574 GB, free: 39.84 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.84, allocations: 10.09 kB / 0.574 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.84, allocations: 1.219 kB / 0.574 GB, free: 39.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000421/0.8404, allocations: 57.23 kB / 0.5741 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.8406, allocations: 34.77 kB / 0.5741 GB, free: 39.8 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.8421, allocations: 1.588 MB / 0.5757 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.8422, allocations: 11.5 kB / 0.5757 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.8422, allocations: 12.78 kB / 0.5757 GB, free: 38.24 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.0001443/0.8424, allocations: 123.8 kB / 0.5758 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.8424, allocations: 6.266 kB / 0.5758 GB, free: 38.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.8425, allocations: 21.47 kB / 0.5758 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8425, allocations: 1.219 kB / 0.5758 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.8425, allocations: 1.531 kB / 0.5759 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8425, allocations: 0 / 0.5759 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.8427, allocations: 212 kB / 0.5761 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.8427, allocations: 0 / 0.5761 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.8429, allocations: 25.95 kB / 0.5761 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.8432, allocations: 59.64 kB / 0.5761 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8432, allocations: 10.97 kB / 0.5761 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.8446, allocations: 1.579 MB / 0.5777 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8446, allocations: 0 / 0.5777 GB, free: 36.29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.8452, allocations: 266.5 kB / 0.5779 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.8452, allocations: 86.36 kB / 0.578 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.8453, allocations: 3.406 kB / 0.578 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.8453, allocations: 1.062 kB / 0.578 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.8454, allocations: 20.14 kB / 0.578 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.8454, allocations: 3.625 kB / 0.578 GB, free: 36 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.801e-05/0.8454, allocations: 85.27 kB / 0.5781 GB, free: 35.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.8454, allocations: 4 kB / 0.5781 GB, free: 35.92 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000354/0.8458, allocations: 32.5 kB / 0.5782 GB, free: 35.91 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.0007785/0.8466, allocations: 0.7896 MB / 0.5789 GB, free: 35.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.8473, allocations: 272 kB / 0.5792 GB, free: 35.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.8473, allocations: 3.938 kB / 0.5792 GB, free: 35.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.8476, allocations: 191.7 kB / 0.5794 GB, free: 34.88 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.8479, allocations: 16.67 kB / 0.5794 GB, free: 34.87 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.8507, allocations: 2.198 MB / 0.5815 GB, free: 33.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.8509, allocations: 0.7021 MB / 0.5822 GB, free: 32.3 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.851, allocations: 27.64 kB / 0.5823 GB, free: 32.29 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.8511, allocations: 23.5 kB / 0.5823 GB, free: 32.27 MB / 462.3 MB Notification: Performance of SimCode: time 4.41e-07/0.8511, allocations: 0 / 0.5823 GB, free: 32.27 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/0.8941, allocations: 2.79 MB / 0.585 GB, free: 30.91 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.66, allocations: 12.28 kB / 0.585 GB, free: 30.9 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.csv --start-time 0 --stop-time 10 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches