Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20",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.001079/0.001079, allocations: 105 kB / 17.05 MB, free: 6.145 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.001115/0.001114, allocations: 191.1 kB / 18 MB, free: 5.219 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.242/1.242, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8481/0.8481, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.03 kB / 0.5705 GB, free: 40 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 80.7 MB / 0.6493 GB, free: 13.52 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002194/0.131, allocations: 1.234 MB / 0.6505 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001881/0.1312, allocations: 35.88 kB / 0.6505 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.1312, allocations: 4 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.634e-05/0.1313, allocations: 7.922 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.1314, allocations: 7.984 kB / 0.6506 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1316, allocations: 27.95 kB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000386/0.1319, allocations: 439.5 kB / 0.651 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.93e-05/0.132, allocations: 4 kB / 0.651 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1322, allocations: 151.8 kB / 0.6512 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1325, allocations: 147.7 kB / 0.6513 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.1325, allocations: 27.98 kB / 0.6513 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.83e-05/0.1326, allocations: 20 kB / 0.6513 GB, free: 11.42 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1327, allocations: 126.1 kB / 0.6515 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1329, allocations: 147.4 kB / 0.6516 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1331, allocations: 227 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1331, allocations: 4 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1331, allocations: 0 / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.1332, allocations: 0 / 0.6518 GB, free: 10.93 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001551/0.1347, allocations: 0.7654 MB / 0.6526 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1348, allocations: 8.031 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.94e-05/0.1348, allocations: 62.73 kB / 0.6526 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.1349, allocations: 24.75 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1352, allocations: 240 kB / 0.6529 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.1352, allocations: 32.94 kB / 0.6529 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/0.1353, allocations: 68.06 kB / 0.653 GB, free: 9.637 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.1358, allocations: 333.2 kB / 0.6533 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1358, allocations: 11.84 kB / 0.6533 GB, free: 9.293 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1359, allocations: 8 kB / 0.6533 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1359, allocations: 8 kB / 0.6533 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.1362, allocations: 214.1 kB / 0.6535 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.1368, allocations: 467.9 kB / 0.654 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.1376, allocations: 0.4979 MB / 0.6545 GB, free: 8.055 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1379, allocations: 238.3 kB / 0.6547 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1379, allocations: 8.562 kB / 0.6547 GB, free: 7.809 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1379, allocations: 43.12 kB / 0.6547 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=60): time 1.703e-06/0.1379, allocations: 0 / 0.6547 GB, free: 7.758 MB / 0.4983 GB Notification: Performance of matching and sorting (n=60): time 0.003603/0.1415, allocations: 1.245 MB / 0.656 GB, free: 6.488 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1416, allocations: 59.97 kB / 0.656 GB, free: 6.414 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.1417, allocations: 117.8 kB / 0.6561 GB, free: 6.289 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.1418, allocations: 41.7 kB / 0.6562 GB, free: 6.242 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.1418, allocations: 93.45 kB / 0.6563 GB, free: 6.145 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.142, allocations: 248.4 kB / 0.6565 GB, free: 5.898 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1422, allocations: 142.7 kB / 0.6566 GB, free: 5.754 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1423, allocations: 346.8 kB / 0.657 GB, free: 5.406 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.1427, allocations: 253.8 kB / 0.6572 GB, free: 5.156 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.1431, allocations: 434.4 kB / 0.6576 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.144, allocations: 0.7152 MB / 0.6583 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.144, allocations: 0 / 0.6583 GB, free: 3.891 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001905/0.1459, allocations: 1.011 MB / 0.6593 GB, free: 2.871 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1459, allocations: 4.031 kB / 0.6593 GB, free: 2.867 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1459, allocations: 12 kB / 0.6593 GB, free: 2.855 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.1472, allocations: 300.4 kB / 0.6596 GB, free: 2.559 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.1477, allocations: 159.8 kB / 0.6598 GB, free: 2.402 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004082/0.1518, allocations: 3.118 MB / 0.6628 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.1521, allocations: 51.44 kB / 0.6628 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.1522, allocations: 35.94 kB / 0.6629 GB, free: 15.06 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (81): * Single equations (assignments): 80 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.1524, allocations: 178.4 kB / 0.6631 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.1524, allocations: 19.72 kB / 0.6631 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.1526, allocations: 61.88 kB / 0.6631 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1526, allocations: 11.98 kB / 0.6631 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.1526, allocations: 8.062 kB / 0.6631 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1526, allocations: 0 / 0.6631 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/0.1531, allocations: 469.5 kB / 0.6636 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1531, allocations: 0 / 0.6636 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.1538, allocations: 131.9 kB / 0.6637 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/0.155, allocations: 284.5 kB / 0.664 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.1551, allocations: 35.91 kB / 0.664 GB, free: 13.82 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.159, allocations: 3.098 MB / 0.6671 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.159, allocations: 0 / 0.6671 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.161, allocations: 1.132 MB / 0.6682 GB, free: 9.441 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.161, allocations: 104.7 kB / 0.6683 GB, free: 9.32 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.781e-05/0.1611, allocations: 27.98 kB / 0.6683 GB, free: 9.293 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1613, allocations: 12 kB / 0.6683 GB, free: 9.281 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.1614, allocations: 48.42 kB / 0.6683 GB, free: 9.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.1614, allocations: 12 kB / 0.6684 GB, free: 9.219 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.022e-05/0.1615, allocations: 95.19 kB / 0.6684 GB, free: 9.125 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1615, allocations: 0 / 0.6684 GB, free: 9.125 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004881/0.162, allocations: 144 kB / 0.6686 GB, free: 8.984 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (xm[1],xm[2],xm[3],xm[4],xm[5],xm[6],xm[7],xm[8],xm[9],xm[10],xm[11],xm[12],xm[13],xm[14],xm[15],xm[16],xm[17],xm[18],xm[19],xm[20],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15],v[16],v[17],v[18],v[19],v[20]) * 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 (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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002259/0.1642, allocations: 1.695 MB / 0.6702 GB, free: 7.254 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.166, allocations: 0.8999 MB / 0.6711 GB, free: 6.344 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.166, allocations: 4.062 kB / 0.6711 GB, free: 6.34 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.1671, allocations: 0.5511 MB / 0.6717 GB, free: 5.777 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1673, allocations: 24 kB / 0.6717 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/0.1759, allocations: 7 MB / 0.6785 GB, free: 14.54 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1762, allocations: 0.8121 MB / 0.6793 GB, free: 13.71 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002772/0.1765, allocations: 147.1 kB / 0.6795 GB, free: 13.56 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.1767, allocations: 87.41 kB / 0.6795 GB, free: 13.48 MB / 0.5295 GB Notification: Performance of SimCode: time 9.42e-07/0.1767, allocations: 0 / 0.6795 GB, free: 13.48 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.208, allocations: 9.745 MB / 0.6891 GB, free: 3.965 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.705/9.913, allocations: 16.34 kB / 0.6891 GB, free: 3.945 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20_fmu --startTime=0 --stopTime=10 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Mechanical_HarmonicOscillator_ScaledExperiments_HarmonicOscillatorNetwork_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches