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.001563/0.001563, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00176/0.00176, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.412/1.412, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.9188/0.9188, allocations: 120.6 MB / 434.5 MB, free: 0.6328 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.001963/0.001963, allocations: 67.91 kB / 0.6067 GB, free: 10.75 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.143, allocations: 85.86 MB / 0.6905 GB, free: 4.676 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorCheck): time 0.002291/0.1453, allocations: 1.215 MB / 0.6917 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.1455, allocations: 43.95 kB / 0.6917 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.1455, allocations: 3.938 kB / 0.6918 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 6.784e-05/0.1456, allocations: 3.984 kB / 0.6918 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.075e-05/0.1456, allocations: 0 / 0.6918 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.1458, allocations: 23.89 kB / 0.6918 GB, free: 3.379 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1459, allocations: 75.8 kB / 0.6919 GB, free: 3.305 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.1459, allocations: 4 kB / 0.6919 GB, free: 3.301 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.146, allocations: 19.98 kB / 0.6919 GB, free: 3.281 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.146, allocations: 27.95 kB / 0.6919 GB, free: 3.254 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1461, allocations: 4 kB / 0.6919 GB, free: 3.25 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.1461, allocations: 8 kB / 0.6919 GB, free: 3.242 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.1461, allocations: 15.92 kB / 0.6919 GB, free: 3.227 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1462, allocations: 19.92 kB / 0.6919 GB, free: 3.207 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.39e-05/0.1462, allocations: 44.09 kB / 0.692 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1462, allocations: 0 / 0.692 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1462, allocations: 0 / 0.692 GB, free: 3.164 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.1462, allocations: 0 / 0.692 GB, free: 3.164 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.0005258/0.1468, allocations: 298.3 kB / 0.6923 GB, free: 2.84 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1468, allocations: 12.02 kB / 0.6923 GB, free: 2.828 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.1468, allocations: 34.75 kB / 0.6923 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.1469, allocations: 0.9375 kB / 0.6923 GB, free: 2.785 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.147, allocations: 118.9 kB / 0.6924 GB, free: 2.645 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.147, allocations: 8.375 kB / 0.6924 GB, free: 2.637 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1471, allocations: 16.33 kB / 0.6925 GB, free: 2.621 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1472, allocations: 62.22 kB / 0.6925 GB, free: 2.555 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.1472, allocations: 7.938 kB / 0.6925 GB, free: 2.547 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.1472, allocations: 4 kB / 0.6925 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1472, allocations: 0 / 0.6925 GB, free: 2.543 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.1473, allocations: 35.97 kB / 0.6926 GB, free: 2.508 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1475, allocations: 156.7 kB / 0.6927 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1476, allocations: 66.56 kB / 0.6928 GB, free: 2.238 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.1477, allocations: 33 kB / 0.6928 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1477, allocations: 3.984 kB / 0.6928 GB, free: 2.199 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1477, allocations: 38.56 kB / 0.6928 GB, free: 2.152 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1477, allocations: 0 / 0.6928 GB, free: 2.152 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0002571/0.148, allocations: 117.5 kB / 0.693 GB, free: 2.031 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.148, allocations: 55.39 kB / 0.693 GB, free: 1.965 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.1481, allocations: 105.8 kB / 0.6931 GB, free: 1.852 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1481, allocations: 29.7 kB / 0.6931 GB, free: 1.816 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.1482, allocations: 84.14 kB / 0.6932 GB, free: 1.73 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1482, allocations: 39.62 kB / 0.6933 GB, free: 1.691 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.1482, allocations: 33.7 kB / 0.6933 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1484, allocations: 318.8 kB / 0.6936 GB, free: 1.332 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/0.1484, allocations: 39.91 kB / 0.6936 GB, free: 1.293 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.1485, allocations: 75.08 kB / 0.6937 GB, free: 1.207 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1487, allocations: 116.2 kB / 0.6938 GB, free: 1.078 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1487, allocations: 8 kB / 0.6938 GB, free: 1.07 MB / 0.5139 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002101/0.1489, allocations: 153.4 kB / 0.694 GB, free: 0.9141 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1489, allocations: 8 kB / 0.694 GB, free: 0.9062 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1489, allocations: 0 / 0.694 GB, free: 0.9062 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1489, allocations: 4 kB / 0.694 GB, free: 0.9023 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1491, allocations: 27.98 kB / 0.694 GB, free: 0.875 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1491, allocations: 4.391 kB / 0.694 GB, free: 0.8711 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.1491, allocations: 7.984 kB / 0.694 GB, free: 0.8633 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1491, allocations: 12.12 kB / 0.694 GB, free: 0.8516 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.475e-05/0.1492, allocations: 117.8 kB / 0.6941 GB, free: 0.7266 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.1492, allocations: 11.89 kB / 0.6942 GB, free: 0.7148 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.1493, allocations: 8.062 kB / 0.6942 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1493, allocations: 0 / 0.6942 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1493, allocations: 0 / 0.6942 GB, free: 0.7031 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1493, allocations: 3.984 kB / 0.6942 GB, free: 0.6992 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1495, allocations: 148.7 kB / 0.6943 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1495, allocations: 0 / 0.6943 GB, free: 0.5117 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.1496, allocations: 27.92 kB / 0.6943 GB, free: 496 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1496, allocations: 8 kB / 0.6943 GB, free: 488 kB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1497, allocations: 7.984 kB / 0.6943 GB, free: 480 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1497, allocations: 4 kB / 0.6944 GB, free: 476 kB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1497, allocations: 3.938 kB / 0.6944 GB, free: 472 kB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1499, allocations: 152.9 kB / 0.6945 GB, free: 300 kB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.1499, allocations: 7.953 kB / 0.6945 GB, free: 292 kB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1499, allocations: 7.984 kB / 0.6945 GB, free: 284 kB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.1499, allocations: 8 kB / 0.6945 GB, free: 276 kB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.15, allocations: 3.984 kB / 0.6945 GB, free: 272 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.15, allocations: 4 kB / 0.6945 GB, free: 268 kB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.15, allocations: 75.28 kB / 0.6946 GB, free: 192 kB / 0.5139 GB Notification: Performance of sort global known variables: time 9e-08/0.15, allocations: 4 kB / 0.6946 GB, free: 188 kB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002005/0.1502, allocations: 20 kB / 0.6946 GB, free: 168 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.0004844/0.1507, allocations: 0.6787 MB / 0.6953 GB, free: 15.46 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.1509, allocations: 88.03 kB / 0.6954 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.1509, allocations: 0 / 0.6954 GB, free: 15.37 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.1509, allocations: 39.86 kB / 0.6954 GB, free: 15.33 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.1511, allocations: 4 kB / 0.6954 GB, free: 15.33 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1531, allocations: 1.96 MB / 0.6973 GB, free: 13.27 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.1531, allocations: 75.33 kB / 0.6974 GB, free: 13.17 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.1532, allocations: 28.7 kB / 0.6974 GB, free: 13.14 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.1533, allocations: 23.42 kB / 0.6975 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of SimCode: time 3e-07/0.1533, allocations: 0 / 0.6975 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1835, allocations: 2.465 MB / 0.6999 GB, free: 10.82 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.7, allocations: 8.047 kB / 0.6999 GB, free: 10.81 MB / 0.5295 GB " [Timeout remaining time 288] (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: 15.362238500732929]