Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.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.001472/0.001472, allocations: 76.41 kB / 21.69 MB, free: 2.855 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.001748/0.001748, allocations: 166.4 kB / 24.99 MB, free: 8.746 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.6183/0.6183, allocations: 88.08 MB / 349.9 MB, free: 14.31 MB / 330.7 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.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.v.[0-9,]+..|der.xm.[0-9,]+..|time|v.[0-9,]+.|xm.[0-9,]+.|xs.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.613e-05/3.79e-05, allocations: 2.312 kB / 451.6 MB, free: 33.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002428/0.002466, allocations: 1.271 MB / 452.9 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002514/0.002717, allocations: 37.42 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.002772, allocations: 0 / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.002876, allocations: 11.06 kB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.002955, allocations: 10.05 kB / 453 MB, free: 32.42 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.003162, allocations: 23.47 kB / 453 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.003412, allocations: 233.3 kB / 453.2 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.003462, allocations: 4.594 kB / 453.2 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.003587, allocations: 112.5 kB / 453.3 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.003727, allocations: 74.39 kB / 453.4 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.003769, allocations: 11.94 kB / 453.4 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.794e-05/0.003797, allocations: 10.62 kB / 453.4 MB, free: 32.3 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-05/0.003875, allocations: 66.66 kB / 453.5 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.003962, allocations: 67.19 kB / 453.6 MB, free: 32.25 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004117, allocations: 111.4 kB / 453.7 MB, free: 32.23 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.00412, allocations: 0 / 453.7 MB, free: 32.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004121, allocations: 2.812 kB / 453.7 MB, free: 32.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.004126, allocations: 0 / 453.7 MB, free: 32.23 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007701/0.004896, allocations: 0.5574 MB / 454.2 MB, free: 31.81 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.004963, allocations: 7.688 kB / 454.2 MB, free: 31.81 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.005051, allocations: 27.47 kB / 454.3 MB, free: 31.8 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.005273, allocations: 149.2 kB / 454.4 MB, free: 31.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.005299, allocations: 16.31 kB / 454.4 MB, free: 31.64 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.005354, allocations: 26.05 kB / 454.4 MB, free: 31.63 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.005597, allocations: 121.8 kB / 454.6 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.005614, allocations: 2.812 kB / 454.6 MB, free: 31.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.005634, allocations: 4.375 kB / 454.6 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.005647, allocations: 3.188 kB / 454.6 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.005786, allocations: 80.25 kB / 454.7 MB, free: 31.56 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.006066, allocations: 193.5 kB / 454.8 MB, free: 31.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.006509, allocations: 191.4 kB / 455 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.006626, allocations: 66.92 kB / 455.1 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.006645, allocations: 5.156 kB / 455.1 MB, free: 31.28 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.006668, allocations: 34.14 kB / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.00667, allocations: 0 / 455.1 MB, free: 31.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=30): time 0.001195/0.007865, allocations: 410.5 kB / 455.5 MB, free: 31.12 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.007889, allocations: 54.47 kB / 455.6 MB, free: 31.05 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.007966, allocations: 169.2 kB / 455.8 MB, free: 30.89 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.007988, allocations: 37.64 kB / 455.8 MB, free: 30.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.008018, allocations: 134 kB / 455.9 MB, free: 30.71 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.821e-05/0.008107, allocations: 137.8 kB / 456.1 MB, free: 30.6 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.008204, allocations: 86.27 kB / 456.1 MB, free: 30.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.556e-05/0.008279, allocations: 0.507 MB / 456.6 MB, free: 30.04 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.008391, allocations: 51.7 kB / 456.7 MB, free: 30.04 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.008563, allocations: 179.6 kB / 456.9 MB, free: 29.89 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.008868, allocations: 257.9 kB / 457.1 MB, free: 29.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.008874, allocations: 2.906 kB / 457.1 MB, free: 29.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006865/0.00956, allocations: 382.4 kB / 457.5 MB, free: 29.55 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.009584, allocations: 9.375 kB / 457.5 MB, free: 29.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.009592, allocations: 4 kB / 457.5 MB, free: 29.54 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/0.01015, allocations: 132.7 kB / 457.6 MB, free: 29.51 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.01038, allocations: 86.42 kB / 457.7 MB, free: 29.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.01212, allocations: 2.146 MB / 459.9 MB, free: 27.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01223, allocations: 31.75 kB / 459.9 MB, free: 27.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.01226, allocations: 16.5 kB / 459.9 MB, free: 27.59 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/0.01235, allocations: 173.6 kB / 460.1 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.01239, allocations: 18.95 kB / 460.1 MB, free: 27.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.01245, allocations: 32.06 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01245, allocations: 2.781 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.01246, allocations: 7.125 kB / 460.1 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.01247, allocations: 6.875 kB / 460.2 MB, free: 27.38 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.01266, allocations: 184.5 kB / 460.3 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01266, allocations: 0 / 460.3 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.01292, allocations: 67.86 kB / 460.4 MB, free: 27.19 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/0.01324, allocations: 125.7 kB / 460.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.01327, allocations: 12.16 kB / 460.5 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.01432, allocations: 2.134 MB / 462.7 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01432, allocations: 3.328 kB / 462.7 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.01481, allocations: 436 kB / 463.1 MB, free: 25.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.01482, allocations: 13.42 kB / 463.1 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.01484, allocations: 12.92 kB / 463.1 MB, free: 25.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.01489, allocations: 14.03 kB / 463.1 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.01493, allocations: 18.72 kB / 463.2 MB, free: 25.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01494, allocations: 12.98 kB / 463.2 MB, free: 25.06 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.066e-05/0.01496, allocations: 126.1 kB / 463.3 MB, free: 24.94 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01496, allocations: 0 / 463.3 MB, free: 24.94 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001985/0.01516, allocations: 68.81 kB / 463.4 MB, free: 24.93 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.01526, allocations: 110.5 kB / 463.5 MB, free: 24.83 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.0158, allocations: 456.1 kB / 463.9 MB, free: 24.58 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0158, allocations: 3.938 kB / 463.9 MB, free: 24.58 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.01607, allocations: 350.5 kB / 464.3 MB, free: 24.36 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01624, allocations: 20.88 kB / 464.3 MB, free: 24.34 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.01716, allocations: 1.018 MB / 465.3 MB, free: 23.57 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.0172, allocations: 96.28 kB / 465.4 MB, free: 23.5 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.01727, allocations: 56.14 kB / 465.4 MB, free: 23.5 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01731, allocations: 19.41 kB / 465.5 MB, free: 23.49 MB / 410.8 MB Notification: Performance of SimCode: time 1.032e-06/0.01731, allocations: 0 / 465.5 MB, free: 23.49 MB / 410.8 MB Notification: Performance of Templates: time 0.004478/0.02179, allocations: 2.891 MB / 468.4 MB, free: 23.23 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_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.7728567980229855]