Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.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.001182/0.001182, allocations: 80.23 kB / 21.18 MB, free: 3.387 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.001304/0.001304, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9126/0.9126, allocations: 177.1 MB / 205 MB, free: 5.285 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.6205/0.6205, allocations: 88.08 MB / 349.6 MB, free: 14.2 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.Verification.HarmonicOscillatorNetworkCheck,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.Verification.HarmonicOscillatorNetworkCheck") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,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.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 451.6 MB, free: 33.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.369e-05, allocations: 3.188 kB / 451.6 MB, free: 33.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001231/0.001245, allocations: 1.249 MB / 452.8 MB, free: 32.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.001391, allocations: 41.72 kB / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.001417, allocations: 0 / 452.8 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 6.902e-05/0.001486, allocations: 10.91 kB / 452.9 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.001544, allocations: 15.19 kB / 452.9 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.001686, allocations: 23.61 kB / 452.9 MB, free: 32.41 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.001788, allocations: 107.4 kB / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.001819, allocations: 0 / 453 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.001866, allocations: 49.44 kB / 453 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.001924, allocations: 38.45 kB / 453.1 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.001943, allocations: 5.531 kB / 453.1 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.001956, allocations: 5.375 kB / 453.1 MB, free: 32.35 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.001996, allocations: 22.81 kB / 453.1 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.00203, allocations: 32.62 kB / 453.2 MB, free: 32.33 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.774e-05/0.002097, allocations: 46.52 kB / 453.2 MB, free: 32.32 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.0021, allocations: 9.625 kB / 453.2 MB, free: 32.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002101, allocations: 0 / 453.2 MB, free: 32.32 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.002104, allocations: 0 / 453.2 MB, free: 32.32 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003305/0.002435, allocations: 432.7 kB / 453.6 MB, free: 31.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.002469, allocations: 8.406 kB / 453.6 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.002507, allocations: 8.234 kB / 453.6 MB, free: 31.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.002604, allocations: 127.5 kB / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.002614, allocations: 6.688 kB / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.00264, allocations: 10.06 kB / 453.8 MB, free: 31.79 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.952e-05/0.002729, allocations: 64.44 kB / 453.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.002737, allocations: 192 / 453.8 MB, free: 31.75 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.002746, allocations: 7.25 kB / 453.9 MB, free: 31.74 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.002752, allocations: 384 / 453.9 MB, free: 31.74 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.002796, allocations: 31.47 kB / 453.9 MB, free: 31.73 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.002917, allocations: 142.1 kB / 454 MB, free: 31.58 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.003145, allocations: 104.3 kB / 454.1 MB, free: 31.53 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.00318, allocations: 33.2 kB / 454.2 MB, free: 31.51 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.00319, allocations: 2.938 kB / 454.2 MB, free: 31.51 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.003203, allocations: 40.58 kB / 454.2 MB, free: 31.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=12): time 8.32e-07/0.003204, allocations: 0 / 454.2 MB, free: 31.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=12): time 0.0003454/0.003549, allocations: 167.9 kB / 454.4 MB, free: 31.39 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.003566, allocations: 61.64 kB / 454.4 MB, free: 31.33 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.517e-05/0.003601, allocations: 163.7 kB / 454.6 MB, free: 31.16 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-06/0.003608, allocations: 29.7 kB / 454.6 MB, free: 31.12 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.003623, allocations: 130.1 kB / 454.7 MB, free: 30.99 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.003656, allocations: 59.62 kB / 454.8 MB, free: 30.95 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.00369, allocations: 46.28 kB / 454.8 MB, free: 30.91 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.003725, allocations: 0.4969 MB / 455.3 MB, free: 30.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.00376, allocations: 21.81 kB / 455.4 MB, free: 30.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.003806, allocations: 75.84 kB / 455.4 MB, free: 30.34 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.003891, allocations: 111.8 kB / 455.5 MB, free: 30.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.003893, allocations: 0 / 455.5 MB, free: 30.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001951/0.004088, allocations: 168.8 kB / 455.7 MB, free: 30.17 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.004099, allocations: 5.812 kB / 455.7 MB, free: 30.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.004105, allocations: 14.31 kB / 455.7 MB, free: 30.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/0.004295, allocations: 54.56 kB / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.004363, allocations: 33.27 kB / 455.8 MB, free: 30.14 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006051/0.004968, allocations: 1.827 MB / 457.6 MB, free: 28.35 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.004999, allocations: 14.55 kB / 457.7 MB, free: 28.34 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.005005, allocations: 5.438 kB / 457.7 MB, free: 28.34 MB / 410.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 (17): * 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: 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.24e-05/0.005048, allocations: 170.6 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.005059, allocations: 13.14 kB / 457.8 MB, free: 28.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.005074, allocations: 22.84 kB / 457.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.005076, allocations: 0 / 457.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.005078, allocations: 3.203 kB / 457.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.00508, allocations: 0 / 457.9 MB, free: 28.14 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.91e-05/0.005139, allocations: 129.7 kB / 458 MB, free: 28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005141, allocations: 0 / 458 MB, free: 28 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.005229, allocations: 30.05 kB / 458 MB, free: 27.99 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.005351, allocations: 58.44 kB / 458.1 MB, free: 27.97 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.005363, allocations: 10.08 kB / 458.1 MB, free: 27.96 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004652/0.005828, allocations: 1.833 MB / 459.9 MB, free: 26.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005829, allocations: 0 / 459.9 MB, free: 26.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.006022, allocations: 210.6 kB / 460.1 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-06/0.006026, allocations: 7.172 kB / 460.1 MB, free: 26.04 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.006036, allocations: 11.17 kB / 460.1 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.006058, allocations: 2.906 kB / 460.2 MB, free: 26.03 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.006079, allocations: 13.45 kB / 460.2 MB, free: 26.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.006084, allocations: 6.906 kB / 460.2 MB, free: 26.02 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.235e-05/0.006097, allocations: 126.2 kB / 460.3 MB, free: 25.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.006097, allocations: 0 / 460.3 MB, free: 25.9 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001429/0.00624, allocations: 26.88 kB / 460.3 MB, free: 25.89 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (xm[1],xm[2],xm[3],xm[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 (9): * 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: 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 5.353e-05/0.006293, allocations: 104 kB / 460.4 MB, free: 25.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.006549, allocations: 272.4 kB / 460.7 MB, free: 25.61 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.00655, allocations: 3.938 kB / 460.7 MB, free: 25.6 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.006658, allocations: 241.2 kB / 460.9 MB, free: 25.41 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.006778, allocations: 6.875 kB / 460.9 MB, free: 25.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.007184, allocations: 489.2 kB / 461.4 MB, free: 25.02 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.277e-05/0.007206, allocations: 70.08 kB / 461.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.974e-05/0.007236, allocations: 22.03 kB / 461.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.00726, allocations: 14.12 kB / 461.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of SimCode: time 7.32e-07/0.007261, allocations: 0 / 461.5 MB, free: 24.95 MB / 410.8 MB Notification: Performance of Templates: time 0.002847/0.01011, allocations: 1.4 MB / 462.9 MB, free: 24.83 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_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.564651355613023]