Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 163.9 kB / 25.61 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9553/0.9553, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.8506/0.8506, allocations: 88.07 MB / 350.7 MB, free: 11.82 MB / 330.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.x.[0-9,]+..|time|v.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 452.8 MB, free: 8.078 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.403e-05, allocations: 6.25 kB / 452.8 MB, free: 8.07 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.001571/0.001595, allocations: 1.242 MB / 454.1 MB, free: 6.82 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001576/0.001753, allocations: 31.89 kB / 454.1 MB, free: 6.789 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.001786, allocations: 0 / 454.1 MB, free: 6.789 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.494e-05/0.001871, allocations: 3.984 kB / 454.1 MB, free: 6.785 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.001935, allocations: 11.88 kB / 454.1 MB, free: 6.773 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.002103, allocations: 19.95 kB / 454.1 MB, free: 6.754 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.002224, allocations: 71.86 kB / 454.2 MB, free: 6.684 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.002261, allocations: 0 / 454.2 MB, free: 6.684 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.002313, allocations: 35.95 kB / 454.2 MB, free: 6.648 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.002369, allocations: 23.95 kB / 454.3 MB, free: 6.625 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.002387, allocations: 11.94 kB / 454.3 MB, free: 6.613 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.002397, allocations: 0 / 454.3 MB, free: 6.613 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.002436, allocations: 15.98 kB / 454.3 MB, free: 6.598 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.002464, allocations: 23.97 kB / 454.3 MB, free: 6.574 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 7.288e-05/0.002537, allocations: 39.83 kB / 454.3 MB, free: 6.535 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002539, allocations: 0 / 454.3 MB, free: 6.535 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002539, allocations: 0 / 454.3 MB, free: 6.535 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002542, allocations: 4 kB / 454.4 MB, free: 6.531 MB / 426.8 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.0003183/0.002861, allocations: 388.6 kB / 454.7 MB, free: 6.113 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.002895, allocations: 15.98 kB / 454.7 MB, free: 6.098 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.002922, allocations: 8.938 kB / 454.8 MB, free: 6.09 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.003027, allocations: 120.5 kB / 454.9 MB, free: 5.945 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.003036, allocations: 4.375 kB / 454.9 MB, free: 5.941 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.003056, allocations: 12.33 kB / 454.9 MB, free: 5.93 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.003126, allocations: 54.22 kB / 454.9 MB, free: 5.871 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.003134, allocations: 4.172 kB / 454.9 MB, free: 5.867 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.003142, allocations: 384 / 454.9 MB, free: 5.867 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.003146, allocations: 384 / 454.9 MB, free: 5.867 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.003178, allocations: 23.92 kB / 455 MB, free: 5.844 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.003294, allocations: 113.2 kB / 455.1 MB, free: 5.707 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.875e-05/0.003373, allocations: 63.05 kB / 455.1 MB, free: 5.633 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.003396, allocations: 23.67 kB / 455.2 MB, free: 5.605 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.003402, allocations: 0 / 455.2 MB, free: 5.605 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.003423, allocations: 37.39 kB / 455.2 MB, free: 5.559 MB / 426.8 MB Notification: Performance of pre-optimization done (n=8): time 7.02e-07/0.003423, allocations: 0 / 455.2 MB, free: 5.559 MB / 426.8 MB Notification: Performance of matching and sorting (n=8): time 0.000141/0.003564, allocations: 77.62 kB / 455.3 MB, free: 5.477 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.003598, allocations: 59.34 kB / 455.3 MB, free: 5.406 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.003663, allocations: 170 kB / 455.5 MB, free: 5.223 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.003675, allocations: 25.7 kB / 455.5 MB, free: 5.191 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.003714, allocations: 142.8 kB / 455.7 MB, free: 5.047 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.003742, allocations: 31.75 kB / 455.7 MB, free: 5.016 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.003779, allocations: 43.34 kB / 455.7 MB, free: 4.965 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.003909, allocations: 0.4923 MB / 456.2 MB, free: 4.461 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.003927, allocations: 8 kB / 456.2 MB, free: 4.453 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.003974, allocations: 70.33 kB / 456.3 MB, free: 4.363 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.004047, allocations: 82.38 kB / 456.4 MB, free: 4.262 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004049, allocations: 0 / 456.4 MB, free: 4.262 MB / 426.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001078/0.004157, allocations: 105.5 kB / 456.5 MB, free: 4.152 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.004169, allocations: 8 kB / 456.5 MB, free: 4.145 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.004174, allocations: 0 / 456.5 MB, free: 4.145 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.004183, allocations: 0 / 456.5 MB, free: 4.145 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.899e-05/0.004282, allocations: 39.92 kB / 456.5 MB, free: 4.105 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.004286, allocations: 4 kB / 456.5 MB, free: 4.102 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.336e-05/0.00431, allocations: 7.891 kB / 456.5 MB, free: 4.094 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.004316, allocations: 8.125 kB / 456.6 MB, free: 4.086 MB / 426.8 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 6.613e-05/0.004382, allocations: 160.6 kB / 456.7 MB, free: 3.918 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.004392, allocations: 8 kB / 456.7 MB, free: 3.91 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.004418, allocations: 12.11 kB / 456.7 MB, free: 3.898 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.00442, allocations: 0 / 456.7 MB, free: 3.898 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.004422, allocations: 0 / 456.7 MB, free: 3.898 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.004427, allocations: 7.938 kB / 456.7 MB, free: 3.891 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.83e-05/0.004506, allocations: 113.2 kB / 456.9 MB, free: 3.754 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004506, allocations: 0 / 456.9 MB, free: 3.754 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/0.004603, allocations: 27.92 kB / 456.9 MB, free: 3.727 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.004604, allocations: 4 kB / 456.9 MB, free: 3.723 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.00462, allocations: 7.984 kB / 456.9 MB, free: 3.715 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004621, allocations: 0 / 456.9 MB, free: 3.715 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.004623, allocations: 4 kB / 456.9 MB, free: 3.711 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.004765, allocations: 140.6 kB / 457 MB, free: 3.551 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.00477, allocations: 0 / 457 MB, free: 3.551 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.004782, allocations: 8 kB / 457 MB, free: 3.543 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.004798, allocations: 3.984 kB / 457 MB, free: 3.539 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.004818, allocations: 7.938 kB / 457.1 MB, free: 3.531 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.004822, allocations: 0 / 457.1 MB, free: 3.531 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.004859, allocations: 135.1 kB / 457.2 MB, free: 3.398 MB / 426.8 MB Notification: Performance of sort global known variables: time 4e-08/0.004859, allocations: 0 / 457.2 MB, free: 3.398 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001267/0.004986, allocations: 19.94 kB / 457.2 MB, free: 3.379 MB / 426.8 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 7.85e-05/0.005064, allocations: 95.25 kB / 457.3 MB, free: 3.277 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 9.024e-05/0.005155, allocations: 63.58 kB / 457.4 MB, free: 3.211 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.005156, allocations: 0 / 457.4 MB, free: 3.211 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.005182, allocations: 35.61 kB / 457.4 MB, free: 3.172 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.005304, allocations: 4.188 kB / 457.4 MB, free: 3.168 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.005759, allocations: 453.5 kB / 457.8 MB, free: 2.695 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.005797, allocations: 67.33 kB / 457.9 MB, free: 2.609 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 2.446e-05/0.005821, allocations: 8.734 kB / 457.9 MB, free: 2.598 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.005868, allocations: 74.2 kB / 458 MB, free: 2.523 MB / 426.8 MB Notification: Performance of SimCode: time 4.71e-07/0.005868, allocations: 0 / 458 MB, free: 2.523 MB / 426.8 MB Notification: Performance of Templates: time 0.002192/0.00806, allocations: 0.7112 MB / 458.7 MB, free: 1.855 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4464594912715256]