Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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.00161/0.00161, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001669/0.001669, allocations: 216.3 kB / 24.53 MB, free: 4.07 MB / 14.72 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.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.9675/0.9675, allocations: 120.6 MB / 435.3 MB, free: 0.8398 MB / 334.1 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.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 74.41 kB / 0.6075 GB, free: 10.96 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1387, allocations: 85.86 MB / 0.6914 GB, free: 4.883 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002144/0.1409, allocations: 1.221 MB / 0.6926 GB, free: 3.656 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.141, allocations: 39.88 kB / 0.6926 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1411, allocations: 0 / 0.6926 GB, free: 3.617 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.1411, allocations: 7.875 kB / 0.6926 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.1412, allocations: 7.984 kB / 0.6926 GB, free: 3.602 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.1413, allocations: 15.97 kB / 0.6926 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.1415, allocations: 79.84 kB / 0.6927 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.1415, allocations: 3.984 kB / 0.6927 GB, free: 3.504 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.136e-05/0.1416, allocations: 31.91 kB / 0.6927 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.028e-05/0.1416, allocations: 31.91 kB / 0.6928 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1417, allocations: 0 / 0.6928 GB, free: 3.441 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.1417, allocations: 4 kB / 0.6928 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.288e-05/0.1417, allocations: 19.92 kB / 0.6928 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.1418, allocations: 23.91 kB / 0.6928 GB, free: 3.395 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.842e-05/0.1418, allocations: 36.12 kB / 0.6928 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1418, allocations: 0 / 0.6928 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1418, allocations: 0 / 0.6928 GB, free: 3.359 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.1418, allocations: 0 / 0.6928 GB, free: 3.359 MB / 0.5139 GB 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.0004996/0.1423, allocations: 298.2 kB / 0.6931 GB, free: 3.035 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1424, allocations: 12.03 kB / 0.6931 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.207e-05/0.1424, allocations: 0.5938 kB / 0.6931 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.1424, allocations: 30.75 kB / 0.6932 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1425, allocations: 4.938 kB / 0.6932 GB, free: 2.98 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1426, allocations: 114.5 kB / 0.6933 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1426, allocations: 8.375 kB / 0.6933 GB, free: 2.836 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.1426, allocations: 16.33 kB / 0.6933 GB, free: 2.82 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1428, allocations: 73.91 kB / 0.6934 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1428, allocations: 3.984 kB / 0.6934 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1428, allocations: 0 / 0.6934 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1428, allocations: 4 kB / 0.6934 GB, free: 2.734 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.1429, allocations: 35.95 kB / 0.6934 GB, free: 2.699 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.1431, allocations: 152.7 kB / 0.6936 GB, free: 2.508 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.1432, allocations: 66.55 kB / 0.6936 GB, free: 2.434 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.1433, allocations: 32.84 kB / 0.6937 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1433, allocations: 7.938 kB / 0.6937 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1433, allocations: 46.42 kB / 0.6937 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1433, allocations: 0 / 0.6937 GB, free: 2.336 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002357/0.1435, allocations: 109.6 kB / 0.6938 GB, free: 2.223 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1436, allocations: 55.41 kB / 0.6939 GB, free: 2.156 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.1437, allocations: 101.8 kB / 0.694 GB, free: 2.047 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1437, allocations: 29.7 kB / 0.694 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.1437, allocations: 84.38 kB / 0.6941 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1438, allocations: 35.73 kB / 0.6941 GB, free: 1.891 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.1438, allocations: 37.66 kB / 0.6941 GB, free: 1.848 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1439, allocations: 318.8 kB / 0.6944 GB, free: 1.527 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.144, allocations: 39.91 kB / 0.6945 GB, free: 1.488 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.1441, allocations: 80.2 kB / 0.6946 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1443, allocations: 116.2 kB / 0.6947 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.1443, allocations: 4 kB / 0.6947 GB, free: 1.262 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002145/0.1445, allocations: 149.9 kB / 0.6948 GB, free: 1.109 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1445, allocations: 11.98 kB / 0.6948 GB, free: 1.098 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1445, allocations: 4 kB / 0.6948 GB, free: 1.094 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1445, allocations: 0 / 0.6948 GB, free: 1.094 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1447, allocations: 35.92 kB / 0.6949 GB, free: 1.059 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1447, allocations: 4 kB / 0.6949 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1447, allocations: 4 kB / 0.6949 GB, free: 1.051 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1447, allocations: 8 kB / 0.6949 GB, free: 1.043 MB / 0.5139 GB 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 8.322e-05/0.1448, allocations: 117.8 kB / 0.695 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.1448, allocations: 15.88 kB / 0.695 GB, free: 0.9023 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.1449, allocations: 12.06 kB / 0.695 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1449, allocations: 0 / 0.695 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1449, allocations: 0 / 0.695 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1449, allocations: 0 / 0.695 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.145, allocations: 152.7 kB / 0.6952 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.145, allocations: 3.938 kB / 0.6952 GB, free: 0.6914 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.1452, allocations: 31.98 kB / 0.6952 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1452, allocations: 0 / 0.6952 GB, free: 0.6602 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.1452, allocations: 11.92 kB / 0.6952 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1452, allocations: 0 / 0.6952 GB, free: 0.6484 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1452, allocations: 4 kB / 0.6952 GB, free: 0.6445 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1454, allocations: 145.1 kB / 0.6954 GB, free: 496 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.1454, allocations: 11.94 kB / 0.6954 GB, free: 484 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1455, allocations: 11.98 kB / 0.6954 GB, free: 472 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.1455, allocations: 0 / 0.6954 GB, free: 472 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1455, allocations: 7.984 kB / 0.6954 GB, free: 464 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1455, allocations: 0 / 0.6954 GB, free: 464 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.1456, allocations: 87.28 kB / 0.6955 GB, free: 376 kB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.1456, allocations: 0 / 0.6955 GB, free: 376 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000189/0.1458, allocations: 12 kB / 0.6955 GB, free: 364 kB / 0.5139 GB 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 0.0005012/0.1463, allocations: 0.6827 MB / 0.6961 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1464, allocations: 80.08 kB / 0.6962 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1464, allocations: 8.062 kB / 0.6962 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.1465, allocations: 31.98 kB / 0.6963 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.1466, allocations: 4 kB / 0.6963 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1487, allocations: 1.972 MB / 0.6982 GB, free: 13.45 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.149, allocations: 0.6924 MB / 0.6989 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.21e-05/0.149, allocations: 28.62 kB / 0.6989 GB, free: 12.7 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.1491, allocations: 19.44 kB / 0.6989 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of SimCode: time 3.1e-07/0.1491, allocations: 4 kB / 0.6989 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.1701, allocations: 2.179 MB / 0.701 GB, free: 10.68 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.88, allocations: 19.39 kB / 0.7011 GB, free: 10.66 MB / 0.5295 GB " [Timeout remaining time 289] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck.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: 14.692462706938386]