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.001699/0.001699, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001884/0.001884, allocations: 189.4 kB / 18 MB, free: 5.09 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9136/0.9136, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 62.44 kB / 0.5705 GB, free: 39.97 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1284, allocations: 80.7 MB / 0.6493 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.002298/0.1308, allocations: 1.223 MB / 0.6505 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002014/0.131, allocations: 51.86 kB / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.1311, allocations: 0 / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/0.1311, allocations: 0 / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.1312, allocations: 11.92 kB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.1314, allocations: 15.97 kB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.1317, allocations: 235.7 kB / 0.6508 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.1318, allocations: 0 / 0.6508 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.1318, allocations: 79.92 kB / 0.6509 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.132, allocations: 79.78 kB / 0.6509 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.132, allocations: 12 kB / 0.651 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.1321, allocations: 12 kB / 0.651 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.1322, allocations: 70.17 kB / 0.651 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1323, allocations: 71.7 kB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1325, allocations: 119.8 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1325, allocations: 0 / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1325, allocations: 3.938 kB / 0.6512 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.1325, allocations: 0 / 0.6512 GB, free: 11.51 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.001025/0.1335, allocations: 0.5305 MB / 0.6517 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1336, allocations: 12.03 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.1336, allocations: 46.73 kB / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.1337, allocations: 16.84 kB / 0.6518 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1339, allocations: 204.2 kB / 0.652 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.134, allocations: 12.38 kB / 0.652 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.134, allocations: 28.33 kB / 0.652 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.1343, allocations: 182.1 kB / 0.6522 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1344, allocations: 7.938 kB / 0.6522 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.1344, allocations: 8 kB / 0.6522 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.1344, allocations: 4 kB / 0.6522 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1346, allocations: 111.8 kB / 0.6523 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.135, allocations: 309.4 kB / 0.6526 GB, free: 9.902 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.1356, allocations: 266.4 kB / 0.6529 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.1358, allocations: 125.5 kB / 0.653 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1358, allocations: 4 kB / 0.653 GB, free: 9.504 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1359, allocations: 38.56 kB / 0.6531 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.1359, allocations: 0 / 0.6531 GB, free: 9.457 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001759/0.1376, allocations: 0.6333 MB / 0.6537 GB, free: 8.797 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.1377, allocations: 51.41 kB / 0.6537 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.258e-05/0.1378, allocations: 105.8 kB / 0.6538 GB, free: 8.621 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.1378, allocations: 33.7 kB / 0.6539 GB, free: 8.582 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.1379, allocations: 88.8 kB / 0.6539 GB, free: 8.492 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.138, allocations: 126.9 kB / 0.6541 GB, free: 8.367 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1381, allocations: 78.14 kB / 0.6541 GB, free: 8.285 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1383, allocations: 334.8 kB / 0.6545 GB, free: 7.949 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1385, allocations: 132.7 kB / 0.6546 GB, free: 7.82 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.1387, allocations: 213.7 kB / 0.6548 GB, free: 7.574 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.1393, allocations: 373.4 kB / 0.6551 GB, free: 7.176 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1393, allocations: 4 kB / 0.6551 GB, free: 7.172 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001069/0.1404, allocations: 0.5176 MB / 0.6557 GB, free: 6.645 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1404, allocations: 4 kB / 0.6557 GB, free: 6.641 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1404, allocations: 4 kB / 0.6557 GB, free: 6.637 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/0.1411, allocations: 160.6 kB / 0.6558 GB, free: 6.477 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1414, allocations: 79.91 kB / 0.6559 GB, free: 6.398 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.1441, allocations: 2.156 MB / 0.658 GB, free: 4.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.1443, allocations: 35.73 kB / 0.658 GB, free: 4.066 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1443, allocations: 8 kB / 0.658 GB, free: 4.059 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.0001302/0.1445, allocations: 146.6 kB / 0.6582 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.1445, allocations: 11.89 kB / 0.6582 GB, free: 3.895 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.1446, allocations: 33.22 kB / 0.6582 GB, free: 3.855 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1446, allocations: 8.062 kB / 0.6582 GB, free: 3.848 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.1446, allocations: 7.984 kB / 0.6582 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1446, allocations: 0 / 0.6582 GB, free: 3.84 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.145, allocations: 301.4 kB / 0.6585 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.145, allocations: 0 / 0.6585 GB, free: 3.496 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.1454, allocations: 63.97 kB / 0.6586 GB, free: 3.434 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006332/0.146, allocations: 148.9 kB / 0.6587 GB, free: 3.285 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.146, allocations: 11.98 kB / 0.6587 GB, free: 3.273 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/0.1486, allocations: 2.16 MB / 0.6608 GB, free: 0.9727 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1486, allocations: 3.938 kB / 0.6609 GB, free: 0.9688 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1497, allocations: 0.5744 MB / 0.6614 GB, free: 384 kB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1498, allocations: 97.11 kB / 0.6615 GB, free: 268 kB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1498, allocations: 15.92 kB / 0.6615 GB, free: 252 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.15, allocations: 8 kB / 0.6615 GB, free: 244 kB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.15, allocations: 23.97 kB / 0.6616 GB, free: 220 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1501, allocations: 4 kB / 0.6616 GB, free: 216 kB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.1501, allocations: 87.27 kB / 0.6616 GB, free: 128 kB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.1501, allocations: 0 / 0.6616 GB, free: 128 kB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003061/0.1504, allocations: 68 kB / 0.6617 GB, free: 60 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.001433/0.1519, allocations: 1.13 MB / 0.6628 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.1529, allocations: 0.4949 MB / 0.6633 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.153, allocations: 0 / 0.6633 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.1536, allocations: 330.6 kB / 0.6636 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1539, allocations: 15.94 kB / 0.6636 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.159, allocations: 3.979 MB / 0.6675 GB, free: 9.906 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1595, allocations: 0.7402 MB / 0.6682 GB, free: 9.141 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.1596, allocations: 69.88 kB / 0.6683 GB, free: 9.07 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.1597, allocations: 47.36 kB / 0.6683 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of SimCode: time 5.11e-07/0.1597, allocations: 0 / 0.6683 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.1954, allocations: 5.323 MB / 0.6735 GB, free: 3.934 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.23, allocations: 19.59 kB / 0.6736 GB, free: 3.918 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10_res.csv --start-time 0 --stop-time 10 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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