Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.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: translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") translateModel(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.v.10..|der.v.1..|der.v.2..|der.v.3..|der.v.4..|der.v.5..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|v.10.|v.1.|v.2.|v.3.|v.4.|v.5.|x.10.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 111.7 kB / 17.75 MB, free: 5.332 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.001528/0.001528, allocations: 190.6 kB / 18.68 MB, free: 4.406 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9304/0.9304, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 62.05 kB / 0.5716 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 80.69 MB / 0.6504 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100): time 0.002079/0.1313, allocations: 1.222 MB / 0.6516 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001695/0.1314, allocations: 31.89 kB / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.1315, allocations: 0 / 0.6517 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.577e-05/0.1316, allocations: 7.984 kB / 0.6517 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.1316, allocations: 11.94 kB / 0.6517 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.1318, allocations: 19.95 kB / 0.6517 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.1329, allocations: 1.451 MB / 0.6531 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.133, allocations: 12 kB / 0.6531 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.1334, allocations: 495.6 kB / 0.6536 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007575/0.1342, allocations: 0.6007 MB / 0.6542 GB, free: 9.16 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.1343, allocations: 76 kB / 0.6543 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1345, allocations: 72 kB / 0.6543 GB, free: 9.016 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.1349, allocations: 439.1 kB / 0.6548 GB, free: 8.586 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.1354, allocations: 490.2 kB / 0.6552 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.136, allocations: 0.8293 MB / 0.656 GB, free: 7.273 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.136, allocations: 4 kB / 0.656 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.623e-06/0.136, allocations: 0 / 0.656 GB, free: 7.27 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.136, allocations: 0 / 0.656 GB, free: 7.27 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00479/0.1408, allocations: 2.094 MB / 0.6581 GB, free: 5.121 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1409, allocations: 15.89 kB / 0.6581 GB, free: 5.105 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.1411, allocations: 88.19 kB / 0.6582 GB, free: 5.02 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.1419, allocations: 435.4 kB / 0.6586 GB, free: 4.555 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/0.142, allocations: 106.4 kB / 0.6587 GB, free: 4.449 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/0.1423, allocations: 247.6 kB / 0.6589 GB, free: 4.207 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.1439, allocations: 1.087 MB / 0.66 GB, free: 3.117 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.144, allocations: 47.8 kB / 0.66 GB, free: 3.07 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.1441, allocations: 31.94 kB / 0.6601 GB, free: 3.039 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.1441, allocations: 20 kB / 0.6601 GB, free: 3.02 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.1453, allocations: 0.8351 MB / 0.6609 GB, free: 2.184 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1467, allocations: 1.091 MB / 0.662 GB, free: 1.039 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.1481, allocations: 1.065 MB / 0.663 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009947/0.1491, allocations: 0.7288 MB / 0.6637 GB, free: 15.24 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.981e-05/0.1492, allocations: 22 kB / 0.6637 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1493, allocations: 56.5 kB / 0.6638 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=200): time 2.955e-06/0.1493, allocations: 0 / 0.6638 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200): time 0.003285/0.1526, allocations: 2.229 MB / 0.666 GB, free: 12.91 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1526, allocations: 69.41 kB / 0.666 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1527, allocations: 161.8 kB / 0.6662 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.1529, allocations: 89.7 kB / 0.6663 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 7.232e-05/0.1529, allocations: 124.8 kB / 0.6664 GB, free: 12.44 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.1535, allocations: 0.8818 MB / 0.6673 GB, free: 11.55 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005703/0.1541, allocations: 0.5501 MB / 0.6678 GB, free: 10.99 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.1542, allocations: 306 kB / 0.6681 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.1555, allocations: 0.9585 MB / 0.669 GB, free: 9.723 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.1574, allocations: 1.73 MB / 0.6707 GB, free: 7.68 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.1607, allocations: 2.8 MB / 0.6734 GB, free: 4.57 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.1607, allocations: 4 kB / 0.6735 GB, free: 4.566 MB / 0.5139 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004136/0.1648, allocations: 2.968 MB / 0.6763 GB, free: 1.59 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.1649, allocations: 16 kB / 0.6764 GB, free: 1.574 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.1649, allocations: 20 kB / 0.6764 GB, free: 1.555 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.442e-05/0.165, allocations: 47.92 kB / 0.6764 GB, free: 1.508 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/0.1679, allocations: 0.8393 MB / 0.6772 GB, free: 0.668 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.699e-05/0.168, allocations: 59.78 kB / 0.6773 GB, free: 0.6094 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.1691, allocations: 277.5 kB / 0.6776 GB, free: 344 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.1692, allocations: 116 kB / 0.6777 GB, free: 228 kB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (400): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004829/0.1697, allocations: 368.9 kB / 0.678 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.1699, allocations: 63.25 kB / 0.6781 GB, free: 15.79 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.1704, allocations: 182.9 kB / 0.6783 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.1704, allocations: 11.95 kB / 0.6783 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1704, allocations: 0 / 0.6783 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.1705, allocations: 163.9 kB / 0.6784 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.1708, allocations: 107.9 kB / 0.6785 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007432/0.1715, allocations: 91.92 kB / 0.6786 GB, free: 15.21 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.1717, allocations: 121.8 kB / 0.6787 GB, free: 15.1 MB / 0.5295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01182/0.1836, allocations: 3.824 MB / 0.6825 GB, free: 11.26 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004631/0.1882, allocations: 3.554 MB / 0.6859 GB, free: 7.684 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001361/0.1896, allocations: 1.003 MB / 0.6869 GB, free: 6.688 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.1897, allocations: 79.28 kB / 0.687 GB, free: 6.609 MB / 0.5295 GB Notification: Performance of Backend: time 4.4e-07/0.1897, allocations: 0 / 0.687 GB, free: 6.609 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002854/0.1925, allocations: 1.772 MB / 0.6887 GB, free: 4.824 MB / 0.5295 GB Notification: Performance of SimCode: time 0.01409/0.2066, allocations: 12.88 MB / 0.7013 GB, free: 7.875 MB / 0.5452 GB Notification: Performance of Templates: time 0.0314/0.238, allocations: 20.33 MB / 0.7212 GB, free: 3.555 MB / 0.5608 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches