Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",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.002961/0.002962, allocations: 105.4 kB / 16.92 MB, free: 5.754 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.002093/0.002094, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.034/2.034, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.884/1.884, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001797, allocations: 59.91 kB / 0.491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9036, allocations: 80.7 MB / 0.5699 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.004129/0.9078, allocations: 1.181 MB / 0.571 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.9082, allocations: 36.19 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.9082, allocations: 5.312 kB / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.9084, allocations: 0 / 0.571 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.9086, allocations: 9.359 kB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.9088, allocations: 20.03 kB / 0.5711 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.9091, allocations: 63 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.9092, allocations: 5.906 kB / 0.5711 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 8.271e-05/0.9093, allocations: 30.28 kB / 0.5712 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.9094, allocations: 22.94 kB / 0.5712 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.9095, allocations: 6.219 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.9095, allocations: 7.375 kB / 0.5712 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.9096, allocations: 18.53 kB / 0.5712 GB, free: 42.29 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.9097, allocations: 24.64 kB / 0.5712 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.9098, allocations: 34.31 kB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.9098, allocations: 0 / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.344e-06/0.9098, allocations: 1.094 kB / 0.5713 GB, free: 42.25 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.9098, allocations: 0 / 0.5713 GB, free: 42.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00076/0.9106, allocations: 378 kB / 0.5716 GB, free: 41.87 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.9107, allocations: 10.16 kB / 0.5716 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.9107, allocations: 31.88 kB / 0.5717 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.9108, allocations: 7.641 kB / 0.5717 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.911, allocations: 173.3 kB / 0.5719 GB, free: 41.62 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.911, allocations: 17.94 kB / 0.5719 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.911, allocations: 18.5 kB / 0.5719 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.9112, allocations: 64.34 kB / 0.5719 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.9113, allocations: 5.188 kB / 0.572 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.9113, allocations: 0 / 0.572 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9113, allocations: 6.281 kB / 0.572 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.9114, allocations: 32.19 kB / 0.572 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.9116, allocations: 178.5 kB / 0.5722 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.9118, allocations: 70.66 kB / 0.5722 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.9118, allocations: 35.91 kB / 0.5723 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.9118, allocations: 1.25 kB / 0.5723 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.9119, allocations: 35.62 kB / 0.5723 GB, free: 41.2 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.9119, allocations: 0 / 0.5723 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003056/0.9122, allocations: 119.3 kB / 0.5724 GB, free: 41.13 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.9122, allocations: 52.59 kB / 0.5725 GB, free: 41.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.9123, allocations: 102.2 kB / 0.5726 GB, free: 40.96 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.9123, allocations: 27.27 kB / 0.5726 GB, free: 40.93 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.9124, allocations: 88.08 kB / 0.5727 GB, free: 40.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.9124, allocations: 32.27 kB / 0.5727 GB, free: 40.81 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.9125, allocations: 34.08 kB / 0.5727 GB, free: 40.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.9126, allocations: 321 kB / 0.573 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-05/0.9127, allocations: 41.62 kB / 0.5731 GB, free: 40.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.9128, allocations: 69.27 kB / 0.5731 GB, free: 40.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.913, allocations: 125.2 kB / 0.5733 GB, free: 40.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.913, allocations: 2.094 kB / 0.5733 GB, free: 40.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002555/0.9132, allocations: 151.2 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9133, allocations: 5.531 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9133, allocations: 1.375 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.9133, allocations: 2.688 kB / 0.5734 GB, free: 40.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.9136, allocations: 34.95 kB / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.9136, allocations: 6.719 kB / 0.5735 GB, free: 40.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.9137, allocations: 10.69 kB / 0.5735 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.9137, allocations: 8.188 kB / 0.5735 GB, free: 40.18 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 (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.9138, allocations: 122.4 kB / 0.5736 GB, free: 40.06 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.9139, allocations: 5.906 kB / 0.5736 GB, free: 40.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.9139, allocations: 8.875 kB / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.9139, allocations: 2.125 kB / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.9139, allocations: 0 / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.9139, allocations: 0 / 0.5736 GB, free: 40.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.9141, allocations: 190.2 kB / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.9141, allocations: 0 / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.9143, allocations: 30.77 kB / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9143, allocations: 2.219 kB / 0.5738 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.9143, allocations: 6.062 kB / 0.5738 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9143, allocations: 0 / 0.5738 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9143, allocations: 1.031 kB / 0.5738 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.9146, allocations: 153.6 kB / 0.574 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.9147, allocations: 87.41 kB / 0.5741 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.9147, allocations: 6.094 kB / 0.5741 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.9148, allocations: 2.312 kB / 0.5741 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.9148, allocations: 10.36 kB / 0.5741 GB, free: 39.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.9148, allocations: 2.219 kB / 0.5741 GB, free: 39.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.698e-05/0.9149, allocations: 81.39 kB / 0.5742 GB, free: 39.51 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9149, allocations: 0 / 0.5742 GB, free: 39.51 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000229/0.9151, allocations: 18.09 kB / 0.5742 GB, free: 39.5 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (x[1],x[2],x[3],x[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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000592/0.9157, allocations: 0.6917 MB / 0.5748 GB, free: 38.86 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.916, allocations: 92.42 kB / 0.5749 GB, free: 38.82 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9161, allocations: 0 / 0.5749 GB, free: 38.82 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.9161, allocations: 37.39 kB / 0.575 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.9164, allocations: 7.047 kB / 0.575 GB, free: 38.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.919, allocations: 1.965 MB / 0.5769 GB, free: 37.06 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.9193, allocations: 0.6924 MB / 0.5776 GB, free: 36.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.9194, allocations: 28.67 kB / 0.5776 GB, free: 36.34 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.9194, allocations: 20.14 kB / 0.5776 GB, free: 36.33 MB / 462.3 MB Notification: Performance of SimCode: time 8.92e-07/0.9194, allocations: 0 / 0.5776 GB, free: 36.33 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/0.9834, allocations: 1.965 MB / 0.5795 GB, free: 35.35 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.75, allocations: 448 / 0.5795 GB, free: 35.35 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_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_HarmonicOscillatorCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches