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.001243/0.001243, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001323/0.001323, allocations: 214 kB / 24.52 MB, free: 3.914 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.332/1.332, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 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.931/0.931, allocations: 120.6 MB / 435.3 MB, free: 0.6172 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.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_Verification_HarmonicOscillatorNetworkCheck",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.001815/0.001815, allocations: 67.91 kB / 0.6074 GB, free: 10.77 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1487, allocations: 85.87 MB / 0.6913 GB, free: 4.695 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck): time 0.002245/0.1509, allocations: 1.223 MB / 0.6925 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001843/0.1511, allocations: 47.88 kB / 0.6925 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.1512, allocations: 0 / 0.6925 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.2e-05/0.1512, allocations: 11.92 kB / 0.6925 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.1513, allocations: 4 kB / 0.6925 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1514, allocations: 27.89 kB / 0.6926 GB, free: 3.375 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1516, allocations: 107.8 kB / 0.6927 GB, free: 3.27 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.1517, allocations: 11.92 kB / 0.6927 GB, free: 3.258 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.464e-05/0.1517, allocations: 27.98 kB / 0.6927 GB, free: 3.23 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.1518, allocations: 35.94 kB / 0.6927 GB, free: 3.195 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1518, allocations: 4 kB / 0.6927 GB, free: 3.191 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.1518, allocations: 4 kB / 0.6927 GB, free: 3.188 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.1519, allocations: 35.91 kB / 0.6928 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.1519, allocations: 23.91 kB / 0.6928 GB, free: 3.129 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.61e-05/0.152, allocations: 52.03 kB / 0.6929 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.152, allocations: 0 / 0.6929 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.143e-06/0.152, allocations: 0 / 0.6929 GB, free: 3.078 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.152, allocations: 3.984 kB / 0.6929 GB, free: 3.074 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005907/0.1526, allocations: 330.6 kB / 0.6932 GB, free: 2.719 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1527, allocations: 8.031 kB / 0.6932 GB, free: 2.711 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.784e-05/0.1527, allocations: 4.188 kB / 0.6932 GB, free: 2.707 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.1527, allocations: 38.73 kB / 0.6932 GB, free: 2.66 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.1528, allocations: 4.938 kB / 0.6932 GB, free: 2.656 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.1529, allocations: 126.4 kB / 0.6933 GB, free: 2.508 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1529, allocations: 8.375 kB / 0.6934 GB, free: 2.5 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1529, allocations: 4.375 kB / 0.6934 GB, free: 2.496 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1531, allocations: 93.95 kB / 0.6934 GB, free: 2.398 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1531, allocations: 4 kB / 0.6935 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.1531, allocations: 0 / 0.6935 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1531, allocations: 0 / 0.6935 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.1532, allocations: 47.89 kB / 0.6935 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.1535, allocations: 184.5 kB / 0.6937 GB, free: 2.125 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.1538, allocations: 126.5 kB / 0.6938 GB, free: 1.992 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.1539, allocations: 52.83 kB / 0.6938 GB, free: 1.938 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1539, allocations: 3.938 kB / 0.6938 GB, free: 1.934 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.154, allocations: 38.5 kB / 0.6939 GB, free: 1.887 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.154, allocations: 8 kB / 0.6939 GB, free: 1.879 MB / 0.5139 GB Notification: Performance of matching and sorting (n=12): time 0.0006965/0.1547, allocations: 222.6 kB / 0.6941 GB, free: 1.652 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1547, allocations: 51.41 kB / 0.6942 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.1548, allocations: 98 kB / 0.6942 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1548, allocations: 33.7 kB / 0.6943 GB, free: 1.445 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.1548, allocations: 84.12 kB / 0.6944 GB, free: 1.359 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.1549, allocations: 55.53 kB / 0.6944 GB, free: 1.305 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1549, allocations: 41.72 kB / 0.6945 GB, free: 1.258 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1551, allocations: 326.8 kB / 0.6948 GB, free: 0.9297 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.1552, allocations: 51.95 kB / 0.6948 GB, free: 0.8789 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1553, allocations: 92.19 kB / 0.6949 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1555, allocations: 144.2 kB / 0.695 GB, free: 0.6172 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1555, allocations: 0 / 0.695 GB, free: 0.6172 MB / 0.5139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000438/0.1559, allocations: 230.6 kB / 0.6953 GB, free: 392 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1559, allocations: 8 kB / 0.6953 GB, free: 384 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1559, allocations: 48 / 0.6953 GB, free: 384 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003135/0.1563, allocations: 64.91 kB / 0.6953 GB, free: 316 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1564, allocations: 35.92 kB / 0.6954 GB, free: 280 kB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.1579, allocations: 1.471 MB / 0.6968 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.158, allocations: 11.92 kB / 0.6968 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.158, allocations: 8 kB / 0.6968 GB, free: 14.66 MB / 0.5295 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 (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 0.0001019/0.1581, allocations: 129.8 kB / 0.6969 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.1581, allocations: 7.953 kB / 0.6969 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.1581, allocations: 12.06 kB / 0.697 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1581, allocations: 0 / 0.697 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1581, allocations: 0 / 0.697 GB, free: 14.51 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1581, allocations: 11.92 kB / 0.697 GB, free: 14.5 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1583, allocations: 168.7 kB / 0.6971 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1583, allocations: 0 / 0.6971 GB, free: 14.29 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1585, allocations: 31.92 kB / 0.6972 GB, free: 14.26 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.1588, allocations: 60.8 kB / 0.6972 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1588, allocations: 3.984 kB / 0.6972 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.1602, allocations: 1.49 MB / 0.6987 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1602, allocations: 0 / 0.6987 GB, free: 12.59 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.1606, allocations: 260.5 kB / 0.6989 GB, free: 12.31 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.1607, allocations: 11.89 kB / 0.6989 GB, free: 12.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1607, allocations: 7.984 kB / 0.6989 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.1607, allocations: 4 kB / 0.699 GB, free: 12.29 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1608, allocations: 11.92 kB / 0.699 GB, free: 12.28 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1608, allocations: 4 kB / 0.699 GB, free: 12.27 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.1608, allocations: 91.27 kB / 0.6991 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 0 / 0.6991 GB, free: 12.18 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002263/0.161, allocations: 28 kB / 0.6991 GB, free: 12.16 MB / 0.5295 GB 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.0007687/0.1618, allocations: 0.788 MB / 0.6999 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.1623, allocations: 254.5 kB / 0.7001 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1623, allocations: 0 / 0.7001 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1626, allocations: 190.6 kB / 0.7003 GB, free: 10.88 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.1628, allocations: 8 kB / 0.7003 GB, free: 10.87 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.1653, allocations: 2.211 MB / 0.7024 GB, free: 8.543 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1654, allocations: 91.31 kB / 0.7025 GB, free: 8.434 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 6.284e-05/0.1655, allocations: 28.53 kB / 0.7026 GB, free: 8.406 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.1655, allocations: 23.42 kB / 0.7026 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of SimCode: time 2.8e-07/0.1655, allocations: 0 / 0.7026 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.19, allocations: 3.012 MB / 0.7055 GB, free: 5.562 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.49, allocations: 0 / 0.7055 GB, free: 5.562 MB / 0.5295 GB " [Timeout remaining time 288] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.Verification.HarmonicOscillatorNetworkCheck_res.mat","/var/lib/jenkins1/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: 15.245309642050415]