Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.10.|cur.1.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.10..|der.vol.1..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.10.|vol.1.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009559, allocations: 182.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008268/0.0008267, allocations: 97.84 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7563/0.7563, allocations: 120.5 MB / 465.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003005, allocations: 8 kB / 0.5477 GB, free: 40.07 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 82.84 MB / 0.6286 GB, free: 6.5 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.001164/0.1285, allocations: 1.04 MB / 0.6296 GB, free: 5.453 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.1287, allocations: 51.75 kB / 0.6297 GB, free: 5.402 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.1287, allocations: 0 / 0.6297 GB, free: 5.402 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.704e-05/0.1288, allocations: 7.984 kB / 0.6297 GB, free: 5.395 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.1289, allocations: 15.84 kB / 0.6297 GB, free: 5.379 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1291, allocations: 15.98 kB / 0.6297 GB, free: 5.363 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1293, allocations: 195.6 kB / 0.6299 GB, free: 5.172 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.1293, allocations: 4 kB / 0.6299 GB, free: 5.168 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.1294, allocations: 71.88 kB / 0.63 GB, free: 5.098 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1296, allocations: 91.75 kB / 0.6301 GB, free: 5.008 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1296, allocations: 8 kB / 0.6301 GB, free: 5 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.879e-05/0.1296, allocations: 8 kB / 0.6301 GB, free: 4.992 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.1297, allocations: 55.86 kB / 0.6301 GB, free: 4.938 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.1298, allocations: 93.39 kB / 0.6302 GB, free: 4.84 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.13, allocations: 111.9 kB / 0.6303 GB, free: 4.73 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.13, allocations: 3.938 kB / 0.6303 GB, free: 4.727 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.513e-06/0.13, allocations: 4 kB / 0.6303 GB, free: 4.723 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.13, allocations: 0 / 0.6303 GB, free: 4.723 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009162/0.1309, allocations: 491.3 kB / 0.6308 GB, free: 4.191 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.131, allocations: 8.031 kB / 0.6308 GB, free: 4.184 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.131, allocations: 12.84 kB / 0.6308 GB, free: 4.172 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1312, allocations: 208.1 kB / 0.631 GB, free: 3.93 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1312, allocations: 16.56 kB / 0.631 GB, free: 3.914 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1313, allocations: 28.28 kB / 0.6311 GB, free: 3.887 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.1316, allocations: 155.2 kB / 0.6312 GB, free: 3.73 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1316, allocations: 3.938 kB / 0.6312 GB, free: 3.727 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1316, allocations: 0 / 0.6312 GB, free: 3.727 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1316, allocations: 4 kB / 0.6312 GB, free: 3.723 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1318, allocations: 91.88 kB / 0.6313 GB, free: 3.633 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.1321, allocations: 273.3 kB / 0.6316 GB, free: 3.316 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.134, allocations: 0.5762 MB / 0.6321 GB, free: 2.73 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1342, allocations: 92.81 kB / 0.6322 GB, free: 2.637 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1342, allocations: 8.562 kB / 0.6322 GB, free: 2.629 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1342, allocations: 38.5 kB / 0.6323 GB, free: 2.582 MB / 442.8 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1342, allocations: 0 / 0.6323 GB, free: 2.582 MB / 442.8 MB Notification: Performance of matching and sorting (n=22): time 0.0005251/0.1348, allocations: 312.8 kB / 0.6326 GB, free: 2.27 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.1348, allocations: 59.39 kB / 0.6326 GB, free: 2.199 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.1349, allocations: 121.8 kB / 0.6327 GB, free: 2.07 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1349, allocations: 29.7 kB / 0.6328 GB, free: 2.035 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.135, allocations: 92.69 kB / 0.6329 GB, free: 1.941 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.135, allocations: 102.6 kB / 0.633 GB, free: 1.84 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.1351, allocations: 4 kB / 0.633 GB, free: 1.836 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1352, allocations: 330.8 kB / 0.6333 GB, free: 1.504 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1354, allocations: 111.9 kB / 0.6334 GB, free: 1.395 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1355, allocations: 111.9 kB / 0.6335 GB, free: 1.285 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1359, allocations: 258 kB / 0.6337 GB, free: 1.027 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1359, allocations: 3.938 kB / 0.6337 GB, free: 1.023 MB / 442.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004535/0.1364, allocations: 332.9 kB / 0.6341 GB, free: 0.6914 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1364, allocations: 4 kB / 0.6341 GB, free: 0.6875 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1364, allocations: 7.984 kB / 0.6341 GB, free: 0.6797 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1364, allocations: 4 kB / 0.6341 GB, free: 0.6758 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.1369, allocations: 111.9 kB / 0.6342 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.1369, allocations: 0 / 0.6342 GB, free: 0.5664 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1371, allocations: 31.73 kB / 0.6342 GB, free: 0.5352 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1371, allocations: 8 kB / 0.6342 GB, free: 0.5273 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (42): * Single equations (assignments): 42 * 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 9.78e-05/0.1372, allocations: 141.6 kB / 0.6343 GB, free: 388 kB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1372, allocations: 15.91 kB / 0.6344 GB, free: 372 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.528e-05/0.1373, allocations: 29.22 kB / 0.6344 GB, free: 340 kB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1373, allocations: 4 kB / 0.6344 GB, free: 336 kB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1373, allocations: 0 / 0.6344 GB, free: 336 kB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1373, allocations: 3.984 kB / 0.6344 GB, free: 332 kB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1376, allocations: 269.3 kB / 0.6347 GB, free: 12 kB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1376, allocations: 0 / 0.6347 GB, free: 12 kB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.1382, allocations: 115.9 kB / 0.6348 GB, free: 15.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1383, allocations: 4 kB / 0.6348 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.1383, allocations: 7.984 kB / 0.6348 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1383, allocations: 0 / 0.6348 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1383, allocations: 8 kB / 0.6348 GB, free: 15.88 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.1388, allocations: 362.9 kB / 0.6351 GB, free: 15.51 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1389, allocations: 88.95 kB / 0.6352 GB, free: 15.4 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.1389, allocations: 11.98 kB / 0.6352 GB, free: 15.39 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.139, allocations: 15.98 kB / 0.6352 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1391, allocations: 7.984 kB / 0.6352 GB, free: 15.37 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.1391, allocations: 11.97 kB / 0.6353 GB, free: 15.36 MB / 458.8 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.1392, allocations: 103.2 kB / 0.6354 GB, free: 15.25 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1392, allocations: 0 / 0.6354 GB, free: 15.25 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0002152/0.1394, allocations: 52 kB / 0.6354 GB, free: 15.2 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur[1],cur[2],cur[3],cur[4],cur[5],cur[6],cur[7],cur[8],cur[9],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vvol) * 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 (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001008/0.1395, allocations: 115.2 kB / 0.6355 GB, free: 15.08 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.1399, allocations: 243.7 kB / 0.6357 GB, free: 14.84 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1399, allocations: 0 / 0.6357 GB, free: 14.84 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.1401, allocations: 119.2 kB / 0.6359 GB, free: 14.73 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.1403, allocations: 19.88 kB / 0.6359 GB, free: 14.71 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.1421, allocations: 1.694 MB / 0.6375 GB, free: 12.98 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1423, allocations: 0.7362 MB / 0.6383 GB, free: 12.21 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.1425, allocations: 73.47 kB / 0.6383 GB, free: 12.14 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.1426, allocations: 15.44 kB / 0.6383 GB, free: 12.13 MB / 458.8 MB Notification: Performance of SimCode: time 2.51e-07/0.1426, allocations: 4 kB / 0.6383 GB, free: 12.12 MB / 458.8 MB Notification: Performance of Templates: time 0.003676/0.1463, allocations: 1.637 MB / 0.6399 GB, free: 10.49 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches