Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.001946/0.001946, 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.002048/0.002048, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.8648/0.8648, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.7214/0.7214, allocations: 88.08 MB / 350.7 MB, free: 11.77 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.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_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_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.61e-07/6.61e-07, allocations: 0 / 452.8 MB, free: 8.012 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.092e-05, allocations: 2.312 kB / 452.8 MB, free: 8.008 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001491/0.001502, allocations: 1.25 MB / 454.1 MB, free: 6.746 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.001657, allocations: 35.94 kB / 454.1 MB, free: 6.711 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.001688, allocations: 3.938 kB / 454.1 MB, free: 6.707 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 7.574e-05/0.001764, allocations: 3.984 kB / 454.1 MB, free: 6.703 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.00182, allocations: 4 kB / 454.1 MB, free: 6.699 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.001963, allocations: 31.94 kB / 454.2 MB, free: 6.668 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.002078, allocations: 107.8 kB / 454.3 MB, free: 6.562 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.002113, allocations: 7.984 kB / 454.3 MB, free: 6.555 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.38e-05/0.002167, allocations: 39.97 kB / 454.3 MB, free: 6.516 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.002228, allocations: 35.88 kB / 454.4 MB, free: 6.48 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.002245, allocations: 4 kB / 454.4 MB, free: 6.477 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.002257, allocations: 4 kB / 454.4 MB, free: 6.473 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.002298, allocations: 35.89 kB / 454.4 MB, free: 6.438 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.002329, allocations: 27.91 kB / 454.4 MB, free: 6.41 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 6.558e-05/0.002394, allocations: 47.88 kB / 454.5 MB, free: 6.363 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002396, allocations: 0 / 454.5 MB, free: 6.363 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.4e-07/0.002396, allocations: 0 / 454.5 MB, free: 6.363 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.0024, allocations: 0 / 454.5 MB, free: 6.363 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003627/0.002762, allocations: 424.5 kB / 454.9 MB, free: 5.91 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.002792, allocations: 12.03 kB / 454.9 MB, free: 5.898 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.00282, allocations: 4.938 kB / 454.9 MB, free: 5.895 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.002919, allocations: 124.5 kB / 455 MB, free: 5.746 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.002932, allocations: 12.36 kB / 455 MB, free: 5.734 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.002952, allocations: 12.31 kB / 455 MB, free: 5.723 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.6e-05/0.003038, allocations: 62.16 kB / 455.1 MB, free: 5.656 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.003047, allocations: 192 / 455.1 MB, free: 5.656 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.003055, allocations: 384 / 455.1 MB, free: 5.656 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.00306, allocations: 8.375 kB / 455.1 MB, free: 5.648 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.003097, allocations: 27.92 kB / 455.1 MB, free: 5.621 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.003226, allocations: 129.2 kB / 455.3 MB, free: 5.469 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.00342, allocations: 99 kB / 455.4 MB, free: 5.359 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.003449, allocations: 23.67 kB / 455.4 MB, free: 5.332 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-06/0.003458, allocations: 4 kB / 455.4 MB, free: 5.328 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.003484, allocations: 41.33 kB / 455.4 MB, free: 5.277 MB / 426.8 MB Notification: Performance of pre-optimization done (n=12): time 7.92e-07/0.003484, allocations: 336 / 455.4 MB, free: 5.277 MB / 426.8 MB Notification: Performance of matching and sorting (n=12): time 0.000339/0.003823, allocations: 157 kB / 455.6 MB, free: 5.113 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.003846, allocations: 55.41 kB / 455.6 MB, free: 5.047 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.888e-05/0.003905, allocations: 165.9 kB / 455.8 MB, free: 4.867 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.003916, allocations: 25.7 kB / 455.8 MB, free: 4.836 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.003952, allocations: 134.9 kB / 456 MB, free: 4.699 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.003993, allocations: 51.53 kB / 456 MB, free: 4.648 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.004037, allocations: 51.34 kB / 456.1 MB, free: 4.59 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.00414, allocations: 0.4923 MB / 456.6 MB, free: 4.086 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.004163, allocations: 15.98 kB / 456.6 MB, free: 4.07 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.943e-05/0.004212, allocations: 74.41 kB / 456.6 MB, free: 3.977 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.004292, allocations: 94.28 kB / 456.7 MB, free: 3.863 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.004295, allocations: 4 kB / 456.7 MB, free: 3.859 MB / 426.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001927/0.004488, allocations: 165.1 kB / 456.9 MB, free: 3.688 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.004498, allocations: 4 kB / 456.9 MB, free: 3.684 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.004502, allocations: 0 / 456.9 MB, free: 3.684 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.004675, allocations: 55.81 kB / 457 MB, free: 3.625 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.004745, allocations: 27.98 kB / 457 MB, free: 3.598 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008402/0.005586, allocations: 1.795 MB / 458.8 MB, free: 1.684 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.51e-05/0.005621, allocations: 11.95 kB / 458.8 MB, free: 1.672 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.005628, allocations: 4 kB / 458.8 MB, free: 1.668 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 (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 7.147e-05/0.005699, allocations: 172.5 kB / 459 MB, free: 1.488 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.005712, allocations: 11.95 kB / 459 MB, free: 1.477 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.005731, allocations: 20.05 kB / 459 MB, free: 1.461 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.005735, allocations: 7.938 kB / 459 MB, free: 1.453 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.005738, allocations: 0 / 459 MB, free: 1.453 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005741, allocations: 0 / 459 MB, free: 1.453 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.042e-05/0.005821, allocations: 121.2 kB / 459.1 MB, free: 1.309 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.005824, allocations: 4 kB / 459.1 MB, free: 1.305 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.005915, allocations: 23.98 kB / 459.1 MB, free: 1.281 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.006042, allocations: 59.7 kB / 459.2 MB, free: 1.219 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.006053, allocations: 7.984 kB / 459.2 MB, free: 1.211 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000758/0.006811, allocations: 1.791 MB / 461 MB, free: 15.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006812, allocations: 4 kB / 461 MB, free: 15.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.007021, allocations: 199.8 kB / 461.2 MB, free: 15.07 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.007026, allocations: 11.89 kB / 461.2 MB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.007038, allocations: 4 kB / 461.2 MB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.007059, allocations: 0 / 461.2 MB, free: 15.06 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.007077, allocations: 7.984 kB / 461.2 MB, free: 15.05 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.007086, allocations: 19.95 kB / 461.2 MB, free: 15.03 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.002e-05/0.007116, allocations: 119.2 kB / 461.4 MB, free: 14.91 MB / 442.8 MB Notification: Performance of sort global known variables: time 2e-08/0.007116, allocations: 0 / 461.4 MB, free: 14.91 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001485/0.007264, allocations: 28 kB / 461.4 MB, free: 14.89 MB / 442.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 7.419e-05/0.007338, allocations: 99.25 kB / 461.5 MB, free: 14.78 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.007609, allocations: 266 kB / 461.7 MB, free: 14.5 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00761, allocations: 4.25 kB / 461.8 MB, free: 14.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.007762, allocations: 229.6 kB / 462 MB, free: 14.25 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.007893, allocations: 12.2 kB / 462 MB, free: 14.24 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.008397, allocations: 489.7 kB / 462.5 MB, free: 13.73 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.554e-05/0.008443, allocations: 71.33 kB / 462.5 MB, free: 13.64 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.008466, allocations: 4.5 kB / 462.5 MB, free: 13.63 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.008522, allocations: 78.2 kB / 462.6 MB, free: 13.55 MB / 442.8 MB Notification: Performance of SimCode: time 1.032e-06/0.008523, allocations: 0 / 462.6 MB, free: 13.55 MB / 442.8 MB Notification: Performance of Templates: time 0.003246/0.01177, allocations: 1.493 MB / 464.1 MB, free: 12.11 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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.410599609836936]