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.001786/0.001786, allocations: 105.3 kB / 17.06 MB, free: 6.016 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.002191/0.002191, allocations: 196 kB / 18 MB, free: 5.094 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.239/1.239, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.773/0.773, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.05 kB / 0.5705 GB, free: 40 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1229, allocations: 80.7 MB / 0.6493 GB, free: 13.51 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillatorNetwork_N_10): time 0.001929/0.1249, allocations: 1.223 MB / 0.6505 GB, free: 12.28 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.1251, allocations: 43.81 kB / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.1252, allocations: 0 / 0.6505 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.849e-05/0.1253, allocations: 11.92 kB / 0.6505 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.1253, allocations: 15.98 kB / 0.6506 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.1255, allocations: 19.95 kB / 0.6506 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1257, allocations: 223.7 kB / 0.6508 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1258, allocations: 11.92 kB / 0.6508 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.1259, allocations: 79.94 kB / 0.6509 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.126, allocations: 71.83 kB / 0.6509 GB, free: 11.81 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.126, allocations: 12 kB / 0.651 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-05/0.1261, allocations: 12 kB / 0.651 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.1261, allocations: 66.19 kB / 0.651 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.1262, allocations: 75.69 kB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1264, allocations: 115.1 kB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1264, allocations: 0 / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1264, allocations: 3.938 kB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.1264, allocations: 0 / 0.6512 GB, free: 11.54 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.0009584/0.1274, allocations: 0.5271 MB / 0.6517 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1274, allocations: 12.03 kB / 0.6517 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.1275, allocations: 46.73 kB / 0.6518 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.1275, allocations: 16.75 kB / 0.6518 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1277, allocations: 200.2 kB / 0.652 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1278, allocations: 16.38 kB / 0.652 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.1278, allocations: 28.28 kB / 0.652 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.1281, allocations: 190 kB / 0.6522 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1281, allocations: 7.938 kB / 0.6522 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1281, allocations: 4 kB / 0.6522 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1282, allocations: 4 kB / 0.6522 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1283, allocations: 103.9 kB / 0.6523 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1287, allocations: 309.4 kB / 0.6526 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.1292, allocations: 266.4 kB / 0.6529 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.1293, allocations: 117.5 kB / 0.653 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1294, allocations: 4 kB / 0.653 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1294, allocations: 42.5 kB / 0.653 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.1294, allocations: 0 / 0.653 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001602/0.131, allocations: 0.6293 MB / 0.6537 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1311, allocations: 59.34 kB / 0.6537 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.1311, allocations: 105.8 kB / 0.6538 GB, free: 8.656 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1312, allocations: 37.7 kB / 0.6539 GB, free: 8.613 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1312, allocations: 96.72 kB / 0.6539 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.1313, allocations: 114.3 kB / 0.6541 GB, free: 8.402 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.1314, allocations: 82.12 kB / 0.6541 GB, free: 8.316 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.1315, allocations: 326.8 kB / 0.6544 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.1317, allocations: 132.7 kB / 0.6546 GB, free: 7.859 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1319, allocations: 213.7 kB / 0.6548 GB, free: 7.613 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1323, allocations: 385.2 kB / 0.6551 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1324, allocations: 0 / 0.6551 GB, free: 7.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009252/0.1333, allocations: 0.5214 MB / 0.6556 GB, free: 6.672 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1333, allocations: 4 kB / 0.6557 GB, free: 6.668 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1333, allocations: 4 kB / 0.6557 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.134, allocations: 144.7 kB / 0.6558 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1342, allocations: 83.91 kB / 0.6559 GB, free: 6.438 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.1365, allocations: 2.152 MB / 0.658 GB, free: 4.145 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.1367, allocations: 35.89 kB / 0.658 GB, free: 4.109 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1367, allocations: 12 kB / 0.658 GB, free: 4.098 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.0001159/0.1368, allocations: 150.6 kB / 0.6582 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.1368, allocations: 15.78 kB / 0.6582 GB, free: 3.926 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.819e-05/0.1369, allocations: 33.22 kB / 0.6582 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1369, allocations: 4 kB / 0.6582 GB, free: 3.883 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.1369, allocations: 4 kB / 0.6582 GB, free: 3.879 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.137, allocations: 3.984 kB / 0.6582 GB, free: 3.875 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.1372, allocations: 297.3 kB / 0.6585 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1372, allocations: 0 / 0.6585 GB, free: 3.535 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.1376, allocations: 71.97 kB / 0.6586 GB, free: 3.465 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005668/0.1382, allocations: 148.6 kB / 0.6587 GB, free: 3.316 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.1382, allocations: 11.98 kB / 0.6587 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.1404, allocations: 2.144 MB / 0.6608 GB, free: 1.02 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1404, allocations: 3.938 kB / 0.6608 GB, free: 1.016 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.1414, allocations: 0.5743 MB / 0.6614 GB, free: 432 kB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.1414, allocations: 96.88 kB / 0.6615 GB, free: 316 kB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1414, allocations: 8.281 kB / 0.6615 GB, free: 308 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1416, allocations: 11.98 kB / 0.6615 GB, free: 296 kB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.1416, allocations: 19.97 kB / 0.6615 GB, free: 276 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.1416, allocations: 15.94 kB / 0.6615 GB, free: 260 kB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.1417, allocations: 79.28 kB / 0.6616 GB, free: 180 kB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 0 / 0.6616 GB, free: 180 kB / 0.4983 GB Notification: Performance of remove unused functions: time 0.000299/0.142, allocations: 72 kB / 0.6617 GB, free: 108 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.001226/0.1432, allocations: 1.131 MB / 0.6628 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008955/0.1441, allocations: 0.491 MB / 0.6633 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1442, allocations: 4 kB / 0.6633 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.1447, allocations: 331 kB / 0.6636 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.1449, allocations: 15.98 kB / 0.6636 GB, free: 14.09 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.1493, allocations: 3.979 MB / 0.6675 GB, free: 9.949 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1496, allocations: 0.7402 MB / 0.6682 GB, free: 9.184 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000129/0.1497, allocations: 65.88 kB / 0.6683 GB, free: 9.117 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.1498, allocations: 39.44 kB / 0.6683 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of SimCode: time 9.42e-07/0.1498, allocations: 4 kB / 0.6683 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.176, allocations: 5.418 MB / 0.6736 GB, free: 3.891 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/9.476, allocations: 14.19 kB / 0.6736 GB, free: 3.883 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