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.001262/0.001262, allocations: 111.6 kB / 17.06 MB, free: 6 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.001316/0.001316, allocations: 198.9 kB / 18 MB, free: 5.078 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.269/1.269, 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.8731/0.8731, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.66 kB / 0.5705 GB, free: 40.01 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1381, allocations: 80.69 MB / 0.6493 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_20): time 0.002371/0.1405, allocations: 1.223 MB / 0.6505 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002081/0.1407, allocations: 39.94 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.1408, allocations: 3.938 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1409, allocations: 3.984 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.141, allocations: 15.92 kB / 0.6506 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.1412, allocations: 19.95 kB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.1416, allocations: 443.5 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.1416, allocations: 4 kB / 0.651 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.1418, allocations: 151.9 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1421, allocations: 147.7 kB / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.1422, allocations: 20 kB / 0.6513 GB, free: 11.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.1423, allocations: 24 kB / 0.6513 GB, free: 11.4 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1424, allocations: 134 kB / 0.6515 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1426, allocations: 143.4 kB / 0.6516 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1428, allocations: 223 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1428, allocations: 0 / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1428, allocations: 4 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1428, allocations: 0 / 0.6518 GB, free: 10.91 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.001674/0.1445, allocations: 0.7693 MB / 0.6526 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1446, allocations: 8.031 kB / 0.6526 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/0.1447, allocations: 58.73 kB / 0.6526 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.1447, allocations: 28.69 kB / 0.6527 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1451, allocations: 236.1 kB / 0.6529 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/0.1451, allocations: 36.88 kB / 0.6529 GB, free: 9.684 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/0.1452, allocations: 64.17 kB / 0.653 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.1458, allocations: 329.2 kB / 0.6533 GB, free: 9.293 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.1458, allocations: 15.84 kB / 0.6533 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.1458, allocations: 12 kB / 0.6533 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1458, allocations: 4 kB / 0.6533 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1462, allocations: 218 kB / 0.6535 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.1468, allocations: 479.9 kB / 0.654 GB, free: 8.531 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.1476, allocations: 489.9 kB / 0.6544 GB, free: 8.043 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/0.1479, allocations: 250.3 kB / 0.6547 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.148, allocations: 8.562 kB / 0.6547 GB, free: 7.785 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.148, allocations: 35.12 kB / 0.6547 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=60): time 2.134e-06/0.148, allocations: 0 / 0.6547 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of matching and sorting (n=60): time 0.003765/0.1518, allocations: 1.252 MB / 0.656 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1519, allocations: 59.97 kB / 0.656 GB, free: 6.391 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.1519, allocations: 113.8 kB / 0.6561 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.152, allocations: 37.7 kB / 0.6562 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.1521, allocations: 93.45 kB / 0.6562 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1522, allocations: 248.4 kB / 0.6565 GB, free: 5.883 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1524, allocations: 150.6 kB / 0.6566 GB, free: 5.73 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1526, allocations: 350.8 kB / 0.657 GB, free: 5.379 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.153, allocations: 249.8 kB / 0.6572 GB, free: 5.133 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.1535, allocations: 434.5 kB / 0.6576 GB, free: 4.648 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009709/0.1545, allocations: 0.7113 MB / 0.6583 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.1545, allocations: 4 kB / 0.6583 GB, free: 3.867 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002046/0.1566, allocations: 1.011 MB / 0.6593 GB, free: 2.848 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1566, allocations: 8 kB / 0.6593 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.1567, allocations: 8.031 kB / 0.6593 GB, free: 2.832 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.1579, allocations: 300.4 kB / 0.6596 GB, free: 2.535 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.1584, allocations: 163.8 kB / 0.6598 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.1629, allocations: 3.11 MB / 0.6628 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1632, allocations: 55.44 kB / 0.6628 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.1633, allocations: 35.88 kB / 0.6629 GB, free: 15.04 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.0001897/0.1635, allocations: 174.4 kB / 0.663 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.1635, allocations: 27.72 kB / 0.6631 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.1637, allocations: 61.88 kB / 0.6631 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1637, allocations: 4.188 kB / 0.6631 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.1637, allocations: 8.047 kB / 0.6631 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1637, allocations: 7.984 kB / 0.6631 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1642, allocations: 457.5 kB / 0.6636 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1643, allocations: 0 / 0.6636 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000717/0.165, allocations: 131.9 kB / 0.6637 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.1662, allocations: 288.5 kB / 0.664 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.1662, allocations: 27.97 kB / 0.664 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004153/0.1704, allocations: 3.11 MB / 0.6671 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1704, allocations: 0 / 0.6671 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.1724, allocations: 1.132 MB / 0.6682 GB, free: 9.418 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.1725, allocations: 104.7 kB / 0.6683 GB, free: 9.297 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.1726, allocations: 31.98 kB / 0.6683 GB, free: 9.266 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.1728, allocations: 8 kB / 0.6683 GB, free: 9.258 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.1729, allocations: 48.48 kB / 0.6683 GB, free: 9.207 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.173, allocations: 19.94 kB / 0.6684 GB, free: 9.188 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.173, allocations: 79.28 kB / 0.6684 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.11e-07/0.173, allocations: 0 / 0.6684 GB, free: 9.109 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.00047/0.1735, allocations: 140 kB / 0.6686 GB, free: 8.973 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.002321/0.1758, allocations: 1.707 MB / 0.6702 GB, free: 7.23 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.1776, allocations: 0.8957 MB / 0.6711 GB, free: 6.324 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1777, allocations: 320 / 0.6711 GB, free: 6.324 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.1788, allocations: 0.559 MB / 0.6717 GB, free: 5.754 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.179, allocations: 19.94 kB / 0.6717 GB, free: 5.734 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.188, allocations: 7.007 MB / 0.6785 GB, free: 14.52 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1884, allocations: 0.805 MB / 0.6793 GB, free: 13.69 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.1887, allocations: 151.1 kB / 0.6794 GB, free: 13.54 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.1889, allocations: 79.42 kB / 0.6795 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of SimCode: time 2.053e-06/0.1889, allocations: 0 / 0.6795 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03115/0.22, allocations: 9.756 MB / 0.6891 GB, free: 3.938 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.805/10.03, allocations: 16.47 kB / 0.6891 GB, free: 3.918 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