Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_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_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_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.001383/0.001383, allocations: 111.1 kB / 17.75 MB, free: 5.223 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.001415/0.001415, allocations: 182.4 kB / 18.67 MB, free: 4.309 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.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8232/0.8232, allocations: 119.3 MB / 411.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 61.89 kB / 0.5716 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1173, allocations: 80.7 MB / 0.6505 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100): time 0.001881/0.1192, allocations: 1.215 MB / 0.6516 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.1194, allocations: 31.89 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.1194, allocations: 0 / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.136e-05/0.1195, allocations: 3.984 kB / 0.6517 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.1196, allocations: 15.94 kB / 0.6517 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.1197, allocations: 19.95 kB / 0.6517 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1208, allocations: 1.451 MB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.1208, allocations: 11.98 kB / 0.6531 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.1212, allocations: 495.6 kB / 0.6536 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006634/0.1218, allocations: 0.6085 MB / 0.6542 GB, free: 9.125 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.122, allocations: 72 kB / 0.6543 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1222, allocations: 76 kB / 0.6543 GB, free: 8.98 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.1225, allocations: 435.1 kB / 0.6548 GB, free: 8.555 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004305/0.1229, allocations: 486.2 kB / 0.6552 GB, free: 8.078 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.1235, allocations: 0.8293 MB / 0.656 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1235, allocations: 0 / 0.656 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1235, allocations: 0 / 0.656 GB, free: 7.246 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.1236, allocations: 4 kB / 0.656 GB, free: 7.242 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.004311/0.1279, allocations: 2.094 MB / 0.6581 GB, free: 5.094 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1279, allocations: 11.89 kB / 0.6581 GB, free: 5.082 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1281, allocations: 92.19 kB / 0.6582 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.1289, allocations: 431.4 kB / 0.6586 GB, free: 4.531 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.129, allocations: 110.4 kB / 0.6587 GB, free: 4.422 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/0.1293, allocations: 251.6 kB / 0.6589 GB, free: 4.176 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.1308, allocations: 1.076 MB / 0.66 GB, free: 3.098 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.1308, allocations: 43.8 kB / 0.66 GB, free: 3.055 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/0.1309, allocations: 39.94 kB / 0.6601 GB, free: 3.016 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.131, allocations: 24 kB / 0.6601 GB, free: 2.992 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1321, allocations: 0.835 MB / 0.6609 GB, free: 2.156 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1334, allocations: 1.095 MB / 0.662 GB, free: 1.008 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.1348, allocations: 1.058 MB / 0.663 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009313/0.1357, allocations: 0.725 MB / 0.6637 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.1358, allocations: 22 kB / 0.6637 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1358, allocations: 52.56 kB / 0.6638 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=200): time 3.396e-06/0.1358, allocations: 4 kB / 0.6638 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of matching and sorting (n=200): time 0.003128/0.139, allocations: 2.229 MB / 0.666 GB, free: 12.89 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.139, allocations: 73.41 kB / 0.666 GB, free: 12.81 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1391, allocations: 161.8 kB / 0.6662 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.1393, allocations: 85.7 kB / 0.6663 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.1393, allocations: 128.8 kB / 0.6664 GB, free: 12.42 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/0.1399, allocations: 0.8778 MB / 0.6673 GB, free: 11.53 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005675/0.1405, allocations: 0.554 MB / 0.6678 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1406, allocations: 314 kB / 0.6681 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.1419, allocations: 0.9546 MB / 0.669 GB, free: 9.695 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.1437, allocations: 1.73 MB / 0.6707 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00338/0.1471, allocations: 2.788 MB / 0.6734 GB, free: 4.555 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/0.1471, allocations: 8 kB / 0.6734 GB, free: 4.547 MB / 0.5139 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004025/0.1512, allocations: 2.972 MB / 0.6763 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.1512, allocations: 16 kB / 0.6764 GB, free: 1.551 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.1512, allocations: 24.09 kB / 0.6764 GB, free: 1.527 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.786e-05/0.1513, allocations: 43.94 kB / 0.6764 GB, free: 1.484 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/0.154, allocations: 0.8426 MB / 0.6773 GB, free: 0.6406 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-05/0.1541, allocations: 51.86 kB / 0.6773 GB, free: 0.5898 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.155, allocations: 273.5 kB / 0.6776 GB, free: 328 kB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.1551, allocations: 116 kB / 0.6777 GB, free: 212 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.0004142/0.1556, allocations: 364.9 kB / 0.678 GB, free: 15.84 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.1557, allocations: 67.25 kB / 0.6781 GB, free: 15.77 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.156, allocations: 178.9 kB / 0.6783 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.156, allocations: 15.89 kB / 0.6783 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1561, allocations: 4 kB / 0.6783 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 8.39e-05/0.1561, allocations: 167.9 kB / 0.6784 GB, free: 15.39 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.1564, allocations: 111.9 kB / 0.6785 GB, free: 15.28 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.157, allocations: 83.92 kB / 0.6786 GB, free: 15.2 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.1572, allocations: 122 kB / 0.6787 GB, free: 15.08 MB / 0.5295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01058/0.1677, allocations: 3.821 MB / 0.6825 GB, free: 11.25 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004426/0.1722, allocations: 3.562 MB / 0.6859 GB, free: 7.66 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001281/0.1735, allocations: 0.9988 MB / 0.6869 GB, free: 6.668 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.1735, allocations: 79.28 kB / 0.687 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of Backend: time 5.61e-07/0.1736, allocations: 0 / 0.687 GB, free: 6.59 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.1762, allocations: 1.77 MB / 0.6887 GB, free: 4.812 MB / 0.5295 GB Notification: Performance of SimCode: time 0.01337/0.1896, allocations: 12.88 MB / 0.7013 GB, free: 7.859 MB / 0.5452 GB Notification: Performance of Templates: time 0.0594/0.249, allocations: 20.33 MB / 0.7212 GB, free: 3.535 MB / 0.5608 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Mechanical.HarmonicOscillator.ScaledExperiments.HarmonicOscillator_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches