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.001467/0.001467, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001638/0.001638, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.339/1.339, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.9191/0.9191, allocations: 120.6 MB / 434.5 MB, free: 0.8711 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorCheck",fmuType="me",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.001848/0.001848, allocations: 67.89 kB / 0.6067 GB, free: 10.96 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1366, allocations: 85.87 MB / 0.6906 GB, free: 4.879 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002127/0.1387, allocations: 1.219 MB / 0.6918 GB, free: 3.652 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001633/0.1389, allocations: 39.94 kB / 0.6918 GB, free: 3.613 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1389, allocations: 3.938 kB / 0.6918 GB, free: 3.609 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 6.977e-05/0.139, allocations: 3.984 kB / 0.6918 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.139, allocations: 0 / 0.6918 GB, free: 3.605 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.1392, allocations: 19.91 kB / 0.6919 GB, free: 3.586 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1393, allocations: 71.86 kB / 0.6919 GB, free: 3.516 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1394, allocations: 7.984 kB / 0.6919 GB, free: 3.508 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.843e-05/0.1394, allocations: 23.92 kB / 0.692 GB, free: 3.484 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.1395, allocations: 31.97 kB / 0.692 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1395, allocations: 4 kB / 0.692 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.1395, allocations: 0 / 0.692 GB, free: 3.449 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1395, allocations: 19.97 kB / 0.692 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.1396, allocations: 23.86 kB / 0.692 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 7.638e-05/0.1396, allocations: 36.11 kB / 0.6921 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1397, allocations: 0 / 0.6921 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1397, allocations: 0 / 0.6921 GB, free: 3.371 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1397, allocations: 0 / 0.6921 GB, free: 3.371 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.0004706/0.1401, allocations: 302.2 kB / 0.6924 GB, free: 3.043 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1402, allocations: 8.031 kB / 0.6924 GB, free: 3.035 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.1402, allocations: 34.75 kB / 0.6924 GB, free: 2.992 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.1402, allocations: 8.938 kB / 0.6924 GB, free: 2.984 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1404, allocations: 118.9 kB / 0.6925 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1404, allocations: 8.375 kB / 0.6925 GB, free: 2.836 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1404, allocations: 8.328 kB / 0.6925 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1406, allocations: 78.2 kB / 0.6926 GB, free: 2.746 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1406, allocations: 3.938 kB / 0.6926 GB, free: 2.742 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1406, allocations: 3.984 kB / 0.6926 GB, free: 2.738 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1406, allocations: 4 kB / 0.6926 GB, free: 2.734 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.1407, allocations: 27.97 kB / 0.6926 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.1409, allocations: 156.7 kB / 0.6928 GB, free: 2.512 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.141, allocations: 74.48 kB / 0.6929 GB, free: 2.43 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.141, allocations: 32.84 kB / 0.6929 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.141, allocations: 4 kB / 0.6929 GB, free: 2.391 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1411, allocations: 34.56 kB / 0.6929 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1411, allocations: 0 / 0.6929 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002365/0.1413, allocations: 125.5 kB / 0.6931 GB, free: 2.219 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1413, allocations: 55.34 kB / 0.6931 GB, free: 2.152 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.1414, allocations: 94.09 kB / 0.6932 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1414, allocations: 29.7 kB / 0.6932 GB, free: 2.016 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.1415, allocations: 88.08 kB / 0.6933 GB, free: 1.926 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1415, allocations: 47.67 kB / 0.6934 GB, free: 1.879 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1416, allocations: 33.7 kB / 0.6934 GB, free: 1.84 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1417, allocations: 318.8 kB / 0.6937 GB, free: 1.52 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.1418, allocations: 39.92 kB / 0.6937 GB, free: 1.48 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-05/0.1419, allocations: 75.34 kB / 0.6938 GB, free: 1.395 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.142, allocations: 116.2 kB / 0.6939 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.142, allocations: 0 / 0.6939 GB, free: 1.266 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002081/0.1422, allocations: 149.4 kB / 0.6941 GB, free: 1.113 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1422, allocations: 8 kB / 0.6941 GB, free: 1.105 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1422, allocations: 128 / 0.6941 GB, free: 1.105 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1423, allocations: 4 kB / 0.6941 GB, free: 1.102 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1424, allocations: 31.98 kB / 0.6941 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1424, allocations: 4 kB / 0.6941 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.1425, allocations: 11.98 kB / 0.6941 GB, free: 1.055 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1425, allocations: 4 kB / 0.6941 GB, free: 1.051 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.086e-05/0.1426, allocations: 117.8 kB / 0.6942 GB, free: 0.9258 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.1426, allocations: 7.891 kB / 0.6942 GB, free: 0.918 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.1426, allocations: 16.06 kB / 0.6942 GB, free: 0.8984 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1426, allocations: 4 kB / 0.6943 GB, free: 0.8945 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1426, allocations: 0 / 0.6943 GB, free: 0.8945 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1426, allocations: 3.984 kB / 0.6943 GB, free: 0.8906 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.1428, allocations: 152.7 kB / 0.6944 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1428, allocations: 4 kB / 0.6944 GB, free: 0.6953 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1429, allocations: 27.92 kB / 0.6944 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1429, allocations: 0 / 0.6944 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1429, allocations: 4 kB / 0.6944 GB, free: 0.6641 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1429, allocations: 7.984 kB / 0.6944 GB, free: 0.6562 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.143, allocations: 3.938 kB / 0.6944 GB, free: 0.6523 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.1432, allocations: 153 kB / 0.6946 GB, free: 496 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.1432, allocations: 3.953 kB / 0.6946 GB, free: 492 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1432, allocations: 4 kB / 0.6946 GB, free: 488 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.1432, allocations: 7.984 kB / 0.6946 GB, free: 480 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.1432, allocations: 7.938 kB / 0.6946 GB, free: 472 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1433, allocations: 0 / 0.6946 GB, free: 472 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.1433, allocations: 83.27 kB / 0.6947 GB, free: 388 kB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.1433, allocations: 0 / 0.6947 GB, free: 388 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001908/0.1435, allocations: 20 kB / 0.6947 GB, free: 368 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.0004765/0.144, allocations: 0.6829 MB / 0.6954 GB, free: 15.65 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1441, allocations: 88.73 kB / 0.6955 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1441, allocations: 0 / 0.6955 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/0.1442, allocations: 40.17 kB / 0.6955 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.1444, allocations: 0 / 0.6955 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1463, allocations: 1.965 MB / 0.6974 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1466, allocations: 0.6924 MB / 0.6981 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.363e-05/0.1466, allocations: 28.64 kB / 0.6981 GB, free: 12.71 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.1467, allocations: 23.42 kB / 0.6981 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of SimCode: time 4.61e-07/0.1467, allocations: 0 / 0.6981 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.175, allocations: 2.145 MB / 0.7002 GB, free: 10.71 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.13, allocations: 7.922 kB / 0.7003 GB, free: 10.7 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.77767253993079]