Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 107.7 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9714/0.9714, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 66.86 kB / 0.5705 GB, free: 40.2 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.143, allocations: 80.69 MB / 0.6493 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.00252/0.1456, allocations: 1.219 MB / 0.6505 GB, free: 12.38 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.1459, allocations: 51.86 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.146, allocations: 0 / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.53e-05/0.1461, allocations: 3.938 kB / 0.6505 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.341e-05/0.1461, allocations: 11.92 kB / 0.6506 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1463, allocations: 19.97 kB / 0.6506 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1466, allocations: 227.7 kB / 0.6508 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.1467, allocations: 8 kB / 0.6508 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1468, allocations: 83.92 kB / 0.6509 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.147, allocations: 75.77 kB / 0.651 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.1471, allocations: 12 kB / 0.651 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.799e-05/0.1471, allocations: 12 kB / 0.651 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.559e-05/0.1472, allocations: 66.19 kB / 0.651 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1473, allocations: 75.69 kB / 0.6511 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1475, allocations: 111.9 kB / 0.6512 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 9.006e-06/0.1475, allocations: 0 / 0.6512 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1475, allocations: 3.938 kB / 0.6512 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1475, allocations: 0 / 0.6512 GB, free: 11.63 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001095/0.1486, allocations: 0.5305 MB / 0.6517 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1487, allocations: 12.03 kB / 0.6517 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.1488, allocations: 50.73 kB / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.1488, allocations: 16.84 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1491, allocations: 200.2 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1491, allocations: 16.38 kB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.1492, allocations: 28.33 kB / 0.652 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.1495, allocations: 182.1 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.1495, allocations: 15.94 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1496, allocations: 4 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1496, allocations: 4 kB / 0.6522 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1498, allocations: 107.8 kB / 0.6523 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.1502, allocations: 309.4 kB / 0.6526 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.1508, allocations: 262.4 kB / 0.6529 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.151, allocations: 125.5 kB / 0.653 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.151, allocations: 4 kB / 0.653 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.151, allocations: 38.56 kB / 0.6531 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 2.385e-06/0.1511, allocations: 0 / 0.6531 GB, free: 9.578 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.0018/0.1529, allocations: 0.6294 MB / 0.6537 GB, free: 8.922 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.1529, allocations: 59.41 kB / 0.6537 GB, free: 8.852 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.153, allocations: 109.8 kB / 0.6538 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1531, allocations: 29.7 kB / 0.6539 GB, free: 8.699 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.1531, allocations: 88.8 kB / 0.6539 GB, free: 8.609 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1532, allocations: 130.9 kB / 0.6541 GB, free: 8.48 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1534, allocations: 90.02 kB / 0.6542 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1535, allocations: 326.8 kB / 0.6545 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1537, allocations: 128.7 kB / 0.6546 GB, free: 7.934 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.154, allocations: 213.7 kB / 0.6548 GB, free: 7.688 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.1545, allocations: 373.4 kB / 0.6551 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1546, allocations: 0 / 0.6551 GB, free: 7.289 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001129/0.1557, allocations: 0.5137 MB / 0.6556 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1557, allocations: 15.06 kB / 0.6557 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1557, allocations: 4 kB / 0.6557 GB, free: 6.75 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.1565, allocations: 152.7 kB / 0.6558 GB, free: 6.598 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.1567, allocations: 79.91 kB / 0.6559 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.1595, allocations: 2.156 MB / 0.658 GB, free: 4.223 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1598, allocations: 35.73 kB / 0.658 GB, free: 4.188 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1598, allocations: 12 kB / 0.658 GB, free: 4.176 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (41): * Single equations (assignments): 40 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.16, allocations: 142.9 kB / 0.6582 GB, free: 4.027 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/0.16, allocations: 15.89 kB / 0.6582 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.774e-05/0.1601, allocations: 37.27 kB / 0.6582 GB, free: 3.969 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1601, allocations: 7.938 kB / 0.6582 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1601, allocations: 4 kB / 0.6582 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1601, allocations: 0 / 0.6582 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.1605, allocations: 305.4 kB / 0.6585 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1605, allocations: 0 / 0.6585 GB, free: 3.609 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.1609, allocations: 59.97 kB / 0.6586 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000627/0.1615, allocations: 156.6 kB / 0.6587 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.1616, allocations: 12 kB / 0.6587 GB, free: 3.383 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.1642, allocations: 2.145 MB / 0.6608 GB, free: 1.098 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1643, allocations: 4 kB / 0.6608 GB, free: 1.094 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1654, allocations: 0.5821 MB / 0.6614 GB, free: 0.4922 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1655, allocations: 101 kB / 0.6615 GB, free: 384 kB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.1655, allocations: 7.984 kB / 0.6615 GB, free: 376 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1656, allocations: 8 kB / 0.6615 GB, free: 368 kB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.1657, allocations: 20.25 kB / 0.6615 GB, free: 348 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.1657, allocations: 12 kB / 0.6616 GB, free: 336 kB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.1658, allocations: 79.27 kB / 0.6616 GB, free: 256 kB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 7.938 kB / 0.6616 GB, free: 248 kB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003341/0.1661, allocations: 68 kB / 0.6617 GB, free: 180 kB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10]) * 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 (21): * Single equations (assignments): 20 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.1676, allocations: 1.131 MB / 0.6628 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.1686, allocations: 498.8 kB / 0.6633 GB, free: 14.51 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1687, allocations: 0 / 0.6633 GB, free: 14.51 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.1693, allocations: 334.6 kB / 0.6636 GB, free: 14.17 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.1695, allocations: 12.56 kB / 0.6636 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/0.1749, allocations: 3.979 MB / 0.6675 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1753, allocations: 0.7441 MB / 0.6682 GB, free: 9.254 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.00017/0.1755, allocations: 69.88 kB / 0.6683 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1756, allocations: 43.42 kB / 0.6683 GB, free: 9.141 MB / 0.5139 GB Notification: Performance of SimCode: time 8.82e-07/0.1756, allocations: 3.938 kB / 0.6683 GB, free: 9.137 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.2139, allocations: 5.325 MB / 0.6735 GB, free: 4.051 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.47, allocations: 15.52 kB / 0.6736 GB, free: 4.039 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches