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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6885/0.6885, allocations: 120.6 MB / 424.6 MB, free: 5.535 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 0.5932 GB, free: 3.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.488, allocations: 84.65 MB / 0.6759 GB, free: 16.36 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001763/0.4898, allocations: 1.198 MB / 0.677 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.4899, allocations: 36.73 kB / 0.6771 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.4899, allocations: 0 / 0.6771 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.212e-05/0.49, allocations: 5.578 kB / 0.6771 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.4901, allocations: 3.016 kB / 0.6771 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.4902, allocations: 23.38 kB / 0.6771 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.4903, allocations: 70.19 kB / 0.6772 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.4903, allocations: 2.297 kB / 0.6772 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.4904, allocations: 28.73 kB / 0.6772 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.4904, allocations: 26.98 kB / 0.6772 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4904, allocations: 6.359 kB / 0.6772 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.4905, allocations: 2.656 kB / 0.6772 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.4905, allocations: 16.16 kB / 0.6773 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.4905, allocations: 24.08 kB / 0.6773 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 6.889e-05/0.4906, allocations: 50.25 kB / 0.6773 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4906, allocations: 0 / 0.6773 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4906, allocations: 0 / 0.6773 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.4906, allocations: 0 / 0.6773 GB, free: 15.4 MB / 0.5139 GB 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.0003906/0.491, allocations: 368.4 kB / 0.6777 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.491, allocations: 9.625 kB / 0.6777 GB, free: 15.02 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.186e-05/0.491, allocations: 36.12 kB / 0.6777 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.4911, allocations: 7.641 kB / 0.6777 GB, free: 14.97 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.4912, allocations: 176.6 kB / 0.6779 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4912, allocations: 7.125 kB / 0.6779 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4912, allocations: 5.875 kB / 0.6779 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.4913, allocations: 77.41 kB / 0.678 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4913, allocations: 3.938 kB / 0.678 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.4913, allocations: 1.375 kB / 0.678 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4914, allocations: 1.375 kB / 0.678 GB, free: 14.7 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.4914, allocations: 28.47 kB / 0.678 GB, free: 14.69 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.4915, allocations: 190.1 kB / 0.6782 GB, free: 14.47 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.4916, allocations: 69.39 kB / 0.6783 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.4917, allocations: 39.52 kB / 0.6783 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.4917, allocations: 4.875 kB / 0.6783 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.075e-05/0.4917, allocations: 31.72 kB / 0.6783 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.4917, allocations: 0 / 0.6783 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002018/0.4919, allocations: 120.2 kB / 0.6785 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.56e-05/0.4919, allocations: 52.91 kB / 0.6785 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.87e-05/0.4919, allocations: 98.02 kB / 0.6786 GB, free: 14.11 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.492, allocations: 25.7 kB / 0.6786 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.371e-05/0.492, allocations: 89.45 kB / 0.6787 GB, free: 13.99 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.492, allocations: 44.64 kB / 0.6787 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.492, allocations: 33.2 kB / 0.6788 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.4921, allocations: 321.6 kB / 0.6791 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.4921, allocations: 32.92 kB / 0.6791 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.4922, allocations: 80.58 kB / 0.6792 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.4923, allocations: 117.4 kB / 0.6793 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4923, allocations: 1.312 kB / 0.6793 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001678/0.4925, allocations: 148.4 kB / 0.6794 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4925, allocations: 5.375 kB / 0.6795 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4925, allocations: 5.312 kB / 0.6795 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4925, allocations: 2.25 kB / 0.6795 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.4927, allocations: 36.11 kB / 0.6795 GB, free: 13.35 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.4927, allocations: 1.375 kB / 0.6795 GB, free: 13.35 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.4927, allocations: 15.94 kB / 0.6795 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4927, allocations: 4.188 kB / 0.6795 GB, free: 13.34 MB / 0.5139 GB 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 4.471e-05/0.4928, allocations: 121.9 kB / 0.6796 GB, free: 13.21 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.4928, allocations: 9.516 kB / 0.6796 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.4928, allocations: 21.36 kB / 0.6797 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4928, allocations: 1.406 kB / 0.6797 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4928, allocations: 0 / 0.6797 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4928, allocations: 3.984 kB / 0.6797 GB, free: 13.18 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.101e-05/0.4929, allocations: 175 kB / 0.6798 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4929, allocations: 0 / 0.6798 GB, free: 12.97 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.4931, allocations: 31.42 kB / 0.6799 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4931, allocations: 0 / 0.6799 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4931, allocations: 6.578 kB / 0.6799 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4931, allocations: 1.719 kB / 0.6799 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4931, allocations: 0 / 0.6799 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.4932, allocations: 157.7 kB / 0.68 GB, free: 12.84 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.4933, allocations: 86.28 kB / 0.6801 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.4933, allocations: 3.062 kB / 0.6801 GB, free: 12.74 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.4933, allocations: 9.328 kB / 0.6801 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.4933, allocations: 7.094 kB / 0.6801 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4933, allocations: 5.5 kB / 0.6801 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.606e-05/0.4933, allocations: 82.02 kB / 0.6802 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.4933, allocations: 4 kB / 0.6802 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001881/0.4935, allocations: 17.62 kB / 0.6802 GB, free: 12.64 MB / 0.5139 GB 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.0002688/0.4938, allocations: 0.6806 MB / 0.6809 GB, free: 12 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.4939, allocations: 85.53 kB / 0.681 GB, free: 11.97 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4939, allocations: 4.25 kB / 0.681 GB, free: 11.96 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 3.916e-05/0.494, allocations: 36.91 kB / 0.681 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.4941, allocations: 10.62 kB / 0.681 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.4955, allocations: 1.953 MB / 0.6829 GB, free: 10.22 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.4956, allocations: 0.6958 MB / 0.6836 GB, free: 9.516 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 6.083e-05/0.4956, allocations: 28.33 kB / 0.6836 GB, free: 9.5 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.4957, allocations: 20.03 kB / 0.6837 GB, free: 9.484 MB / 0.5139 GB Notification: Performance of SimCode: time 3.51e-07/0.4957, allocations: 0 / 0.6837 GB, free: 9.484 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.5196, allocations: 2.012 MB / 0.6856 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.598, allocations: 15.81 kB / 0.6856 GB, free: 8.48 MB / 0.5139 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.877650003414601]