Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_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: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|time|time|v.1.|v.2.|v.3.|v.4.|x.1.|x.2.|x.3.|x.4.",fileNamePrefix="ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 113 kB / 17.11 MB, free: 5.883 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.001073/0.001073, allocations: 196 kB / 18.06 MB, free: 4.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.5818/0.5818, allocations: 228.4 MB / 247.2 MB, free: 5.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6922/0.6922, allocations: 120.7 MB / 420.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 63.88 kB / 0.588 GB, free: 18.97 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 84.65 MB / 0.6707 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001811/0.1184, allocations: 1.204 MB / 0.6719 GB, free: 12.87 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.000157/0.1186, allocations: 43.81 kB / 0.6719 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.1186, allocations: 4 kB / 0.6719 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 6.775e-05/0.1187, allocations: 0 / 0.6719 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.888e-05/0.1187, allocations: 7.938 kB / 0.6719 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.1188, allocations: 19.95 kB / 0.6719 GB, free: 12.79 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.119, allocations: 67.88 kB / 0.672 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.119, allocations: 0 / 0.672 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.119, allocations: 27.97 kB / 0.672 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.1191, allocations: 27.91 kB / 0.6721 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1191, allocations: 4 kB / 0.6721 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.1191, allocations: 4 kB / 0.6721 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.1192, allocations: 19.97 kB / 0.6721 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.1192, allocations: 19.92 kB / 0.6721 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 6.436e-05/0.1193, allocations: 31.84 kB / 0.6721 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1193, allocations: 4 kB / 0.6721 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1193, allocations: 0 / 0.6721 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1193, allocations: 0 / 0.6721 GB, free: 12.59 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.0004695/0.1197, allocations: 375.4 kB / 0.6725 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.1198, allocations: 8.031 kB / 0.6725 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.1198, allocations: 8.891 kB / 0.6725 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.12, allocations: 180.2 kB / 0.6727 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.12, allocations: 4.375 kB / 0.6727 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.12, allocations: 8.375 kB / 0.6727 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1201, allocations: 74.33 kB / 0.6728 GB, free: 11.85 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1201, allocations: 7.984 kB / 0.6728 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.1202, allocations: 7.938 kB / 0.6728 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.1202, allocations: 0 / 0.6728 GB, free: 11.84 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.1202, allocations: 31.97 kB / 0.6728 GB, free: 11.8 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.1204, allocations: 181.6 kB / 0.673 GB, free: 11.58 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1205, allocations: 70.48 kB / 0.6731 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.1206, allocations: 28.84 kB / 0.6731 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1206, allocations: 3.984 kB / 0.6731 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1206, allocations: 42.56 kB / 0.6731 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.1206, allocations: 0 / 0.6731 GB, free: 11.41 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002087/0.1208, allocations: 109.8 kB / 0.6732 GB, free: 11.3 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.1208, allocations: 55.34 kB / 0.6733 GB, free: 11.23 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.1209, allocations: 105.8 kB / 0.6734 GB, free: 11.12 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1209, allocations: 29.7 kB / 0.6734 GB, free: 11.09 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.121, allocations: 80.14 kB / 0.6735 GB, free: 11 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.121, allocations: 39.64 kB / 0.6735 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1211, allocations: 37.72 kB / 0.6736 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1212, allocations: 322.8 kB / 0.6739 GB, free: 10.6 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.1212, allocations: 35.97 kB / 0.6739 GB, free: 10.56 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.051e-05/0.1213, allocations: 78.59 kB / 0.674 GB, free: 10.47 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1215, allocations: 120.8 kB / 0.6741 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1215, allocations: 0 / 0.6741 GB, free: 10.34 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000193/0.1217, allocations: 141.7 kB / 0.6742 GB, free: 10.2 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1217, allocations: 11.92 kB / 0.6742 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1217, allocations: 4 kB / 0.6743 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1217, allocations: 4.109 kB / 0.6743 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1218, allocations: 35.98 kB / 0.6743 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1218, allocations: 3.938 kB / 0.6743 GB, free: 10.14 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.289e-05/0.1219, allocations: 15.89 kB / 0.6743 GB, free: 10.12 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1219, allocations: 8 kB / 0.6743 GB, free: 10.11 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 7.657e-05/0.122, allocations: 121 kB / 0.6744 GB, free: 9.988 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.122, allocations: 11.89 kB / 0.6744 GB, free: 9.977 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.122, allocations: 11.97 kB / 0.6745 GB, free: 9.961 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.122, allocations: 4 kB / 0.6745 GB, free: 9.957 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.122, allocations: 4 kB / 0.6745 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.122, allocations: 0 / 0.6745 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1222, allocations: 181.6 kB / 0.6746 GB, free: 9.727 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1222, allocations: 0 / 0.6746 GB, free: 9.727 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.1223, allocations: 31.92 kB / 0.6747 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1223, allocations: 3.938 kB / 0.6747 GB, free: 9.691 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1223, allocations: 7.984 kB / 0.6747 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1223, allocations: 3.938 kB / 0.6747 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1223, allocations: 0 / 0.6747 GB, free: 9.68 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1225, allocations: 145 kB / 0.6748 GB, free: 9.52 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.1226, allocations: 85 kB / 0.6749 GB, free: 9.418 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1226, allocations: 7.984 kB / 0.6749 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.346e-05/0.1226, allocations: 0 / 0.6749 GB, free: 9.41 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.1226, allocations: 7.984 kB / 0.6749 GB, free: 9.402 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1227, allocations: 4 kB / 0.6749 GB, free: 9.398 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.1227, allocations: 79.28 kB / 0.675 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1227, allocations: 0 / 0.675 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001749/0.1229, allocations: 16 kB / 0.675 GB, free: 9.305 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 8.67e-05/0.1229, allocations: 108.5 kB / 0.6751 GB, free: 9.191 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1231, allocations: 87.94 kB / 0.6752 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1231, allocations: 0 / 0.6752 GB, free: 9.105 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.1231, allocations: 31.98 kB / 0.6752 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1233, allocations: 7.938 kB / 0.6752 GB, free: 9.066 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.1241, allocations: 0.6139 MB / 0.6758 GB, free: 8.426 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1244, allocations: 0.7039 MB / 0.6765 GB, free: 7.695 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 5.666e-05/0.1245, allocations: 28.64 kB / 0.6765 GB, free: 7.664 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1245, allocations: 15.38 kB / 0.6766 GB, free: 7.648 MB / 0.5139 GB Notification: Performance of SimCode: time 3.61e-07/0.1245, allocations: 0 / 0.6766 GB, free: 7.648 MB / 0.5139 GB Notification: Performance of Templates: time 0.003348/0.1278, allocations: 0.748 MB / 0.6773 GB, free: 6.914 MB / 0.5139 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_OB_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches