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.0007289/0.0007289, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0007277/0.0007277, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8517/0.8517, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.5586/0.5586, allocations: 88.06 MB / 348.7 MB, free: 14.38 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: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.36e-06, allocations: 0 / 0.523 GB, free: 4.078 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.652e-05/0.0001019, allocations: 3.828 kB / 0.523 GB, free: 4.074 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.001798/0.0019, allocations: 1.218 MB / 0.5242 GB, free: 2.848 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001722/0.002072, allocations: 48.7 kB / 0.5242 GB, free: 2.801 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.002103, allocations: 0 / 0.5242 GB, free: 2.801 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.107e-05/0.002174, allocations: 3.938 kB / 0.5242 GB, free: 2.797 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.002236, allocations: 11.98 kB / 0.5242 GB, free: 2.785 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.00239, allocations: 27.89 kB / 0.5243 GB, free: 2.758 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.002518, allocations: 107.8 kB / 0.5244 GB, free: 2.652 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.002561, allocations: 0 / 0.5244 GB, free: 2.652 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.002623, allocations: 47.94 kB / 0.5244 GB, free: 2.605 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/0.002692, allocations: 35.89 kB / 0.5244 GB, free: 2.57 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.002717, allocations: 4 kB / 0.5244 GB, free: 2.566 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.002731, allocations: 4 kB / 0.5244 GB, free: 2.562 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.002777, allocations: 23.97 kB / 0.5245 GB, free: 2.539 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.002815, allocations: 35.89 kB / 0.5245 GB, free: 2.504 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.58e-05/0.0029, allocations: 55.86 kB / 0.5246 GB, free: 2.449 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.002903, allocations: 0 / 0.5246 GB, free: 2.449 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.002905, allocations: 0 / 0.5246 GB, free: 2.449 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.002908, allocations: 0 / 0.5246 GB, free: 2.449 MB / 442.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.0004582/0.003366, allocations: 326.1 kB / 0.5249 GB, free: 2.098 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.003408, allocations: 12.03 kB / 0.5249 GB, free: 2.086 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.003439, allocations: 38.73 kB / 0.5249 GB, free: 2.039 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.003462, allocations: 4.938 kB / 0.5249 GB, free: 2.035 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.003586, allocations: 133.7 kB / 0.525 GB, free: 1.879 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.003595, allocations: 12.31 kB / 0.5251 GB, free: 1.867 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.003618, allocations: 8.375 kB / 0.5251 GB, free: 1.859 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.003747, allocations: 82.2 kB / 0.5251 GB, free: 1.773 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.003758, allocations: 4.188 kB / 0.5251 GB, free: 1.77 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.003769, allocations: 4.359 kB / 0.5252 GB, free: 1.766 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.003774, allocations: 8.125 kB / 0.5252 GB, free: 1.758 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.003852, allocations: 39.97 kB / 0.5252 GB, free: 1.719 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.004025, allocations: 180.6 kB / 0.5254 GB, free: 1.5 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.004305, allocations: 134.5 kB / 0.5255 GB, free: 1.359 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.004358, allocations: 44.83 kB / 0.5255 GB, free: 1.312 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.00437, allocations: 0 / 0.5255 GB, free: 1.312 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.004389, allocations: 34.89 kB / 0.5256 GB, free: 1.27 MB / 442.8 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.00439, allocations: 0 / 0.5256 GB, free: 1.27 MB / 442.8 MB Notification: Performance of matching and sorting (n=12): time 0.0004453/0.004835, allocations: 234.2 kB / 0.5258 GB, free: 1.031 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.004862, allocations: 51.41 kB / 0.5258 GB, free: 0.9688 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.685e-05/0.004909, allocations: 101.8 kB / 0.5259 GB, free: 0.8594 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.004921, allocations: 29.7 kB / 0.526 GB, free: 0.8242 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.004945, allocations: 84.14 kB / 0.5261 GB, free: 0.7383 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.004985, allocations: 51.55 kB / 0.5261 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.005025, allocations: 41.7 kB / 0.5261 GB, free: 0.6406 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.005106, allocations: 322.8 kB / 0.5264 GB, free: 324 kB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.53e-05/0.005161, allocations: 47.95 kB / 0.5265 GB, free: 276 kB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.005232, allocations: 96.19 kB / 0.5266 GB, free: 164 kB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.005385, allocations: 152.2 kB / 0.5267 GB, free: 15.99 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005387, allocations: 0 / 0.5267 GB, free: 15.99 MB / 458.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002609/0.005648, allocations: 222.7 kB / 0.5269 GB, free: 15.77 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.005663, allocations: 8 kB / 0.527 GB, free: 15.76 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.005668, allocations: 0 / 0.527 GB, free: 15.76 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.005865, allocations: 60.92 kB / 0.527 GB, free: 15.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.005942, allocations: 43.91 kB / 0.5271 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009433/0.006885, allocations: 1.463 MB / 0.5285 GB, free: 14.07 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.006932, allocations: 19.91 kB / 0.5285 GB, free: 14.05 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.006939, allocations: 4 kB / 0.5285 GB, free: 14.05 MB / 458.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.053e-05/0.00701, allocations: 125.8 kB / 0.5286 GB, free: 13.92 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.00702, allocations: 7.891 kB / 0.5286 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.007042, allocations: 20.19 kB / 0.5286 GB, free: 13.89 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.007043, allocations: 0 / 0.5286 GB, free: 13.89 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.007049, allocations: 11.92 kB / 0.5287 GB, free: 13.88 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007051, allocations: 0 / 0.5287 GB, free: 13.88 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.007156, allocations: 172.6 kB / 0.5288 GB, free: 13.67 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007158, allocations: 0 / 0.5288 GB, free: 13.67 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.007256, allocations: 35.92 kB / 0.5289 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.007391, allocations: 60.8 kB / 0.5289 GB, free: 13.57 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.007404, allocations: 3.984 kB / 0.5289 GB, free: 13.57 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007939/0.008197, allocations: 1.479 MB / 0.5304 GB, free: 11.97 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.008199, allocations: 0 / 0.5304 GB, free: 11.97 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.008462, allocations: 265.8 kB / 0.5306 GB, free: 11.69 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.00847, allocations: 11.89 kB / 0.5306 GB, free: 11.68 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.008481, allocations: 7.984 kB / 0.5306 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.008506, allocations: 4 kB / 0.5306 GB, free: 11.67 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.008529, allocations: 7.984 kB / 0.5306 GB, free: 11.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.008535, allocations: 4 kB / 0.5307 GB, free: 11.66 MB / 458.8 MB Notification: Performance of sorting global known variables: time 2.667e-05/0.008561, allocations: 83.27 kB / 0.5307 GB, free: 11.57 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008561, allocations: 0 / 0.5307 GB, free: 11.57 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001568/0.008718, allocations: 28 kB / 0.5308 GB, free: 11.55 MB / 458.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 0.0004446/0.009163, allocations: 0.7887 MB / 0.5315 GB, free: 10.73 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.009498, allocations: 254.5 kB / 0.5318 GB, free: 10.46 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0095, allocations: 0 / 0.5318 GB, free: 10.46 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.009634, allocations: 186.8 kB / 0.5319 GB, free: 10.27 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.009779, allocations: 16.39 kB / 0.532 GB, free: 10.26 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.01125, allocations: 2.042 MB / 0.534 GB, free: 8.098 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.01131, allocations: 87.33 kB / 0.534 GB, free: 7.992 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.333e-05/0.01136, allocations: 28.45 kB / 0.5341 GB, free: 7.965 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.0114, allocations: 20.5 kB / 0.5341 GB, free: 7.945 MB / 458.8 MB Notification: Performance of SimCode: time 5.81e-07/0.0114, allocations: 0 / 0.5341 GB, free: 7.945 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.02953, allocations: 3.482 MB / 0.5375 GB, free: 4.656 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.079/6.109, allocations: 3.438 kB / 0.5375 GB, free: 4.656 MB / 458.8 MB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.598155725747347]