Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/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) 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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009949/0.000995, allocations: 191.4 kB / 16.61 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.338/0.338, allocations: 225.6 MB / 243 MB, free: 4.156 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 104.5 kB / 293.2 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.3-master/package.mo): time 0.3836/0.3836, allocations: 119.5 MB / 462.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 55.92 kB / 0.5426 GB, free: 9.234 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 80.7 MB / 0.6215 GB, free: 8.402 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.00175/0.1087, allocations: 1.401 MB / 0.6228 GB, free: 6.992 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001526/0.1089, allocations: 51.86 kB / 0.6229 GB, free: 6.941 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.1089, allocations: 0 / 0.6229 GB, free: 6.941 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.901e-05/0.109, allocations: 3.938 kB / 0.6229 GB, free: 6.938 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.1091, allocations: 23.89 kB / 0.6229 GB, free: 6.914 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.1092, allocations: 11.98 kB / 0.6229 GB, free: 6.902 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1093, allocations: 195.6 kB / 0.6231 GB, free: 6.711 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.1094, allocations: 4.281 kB / 0.6231 GB, free: 6.707 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.1094, allocations: 75.88 kB / 0.6232 GB, free: 6.633 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1096, allocations: 107.7 kB / 0.6233 GB, free: 6.527 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1096, allocations: 8 kB / 0.6233 GB, free: 6.52 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.1096, allocations: 8 kB / 0.6233 GB, free: 6.512 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.1097, allocations: 71.84 kB / 0.6234 GB, free: 6.441 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.1098, allocations: 79.62 kB / 0.6234 GB, free: 6.363 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1099, allocations: 139.5 kB / 0.6236 GB, free: 6.227 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1099, allocations: 0 / 0.6236 GB, free: 6.227 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1099, allocations: 0 / 0.6236 GB, free: 6.227 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.165e-06/0.1099, allocations: 0 / 0.6236 GB, free: 6.227 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008082/0.1107, allocations: 0.5263 MB / 0.6241 GB, free: 5.648 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.633e-05/0.1108, allocations: 8.031 kB / 0.6241 GB, free: 5.641 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1108, allocations: 20.75 kB / 0.6241 GB, free: 5.621 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.111, allocations: 208.2 kB / 0.6243 GB, free: 5.379 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.111, allocations: 16.38 kB / 0.6243 GB, free: 5.363 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.1111, allocations: 32.27 kB / 0.6244 GB, free: 5.332 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1113, allocations: 178.3 kB / 0.6245 GB, free: 5.152 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1113, allocations: 4 kB / 0.6245 GB, free: 5.148 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1113, allocations: 15.88 kB / 0.6245 GB, free: 5.133 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1114, allocations: 4 kB / 0.6245 GB, free: 5.129 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1115, allocations: 115.9 kB / 0.6247 GB, free: 5.016 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009234/0.1125, allocations: 0.5978 MB / 0.6252 GB, free: 4.367 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.1141, allocations: 0.5801 MB / 0.6258 GB, free: 3.777 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1142, allocations: 96.75 kB / 0.6259 GB, free: 3.68 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1142, allocations: 3.984 kB / 0.6259 GB, free: 3.676 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.1142, allocations: 38.94 kB / 0.6259 GB, free: 3.629 MB / 442.8 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.1142, allocations: 0 / 0.6259 GB, free: 3.629 MB / 442.8 MB Notification: Performance of matching and sorting (n=22): time 0.0004536/0.1147, allocations: 317.1 kB / 0.6262 GB, free: 3.312 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.1147, allocations: 59.34 kB / 0.6263 GB, free: 3.242 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.1148, allocations: 121.8 kB / 0.6264 GB, free: 3.113 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1148, allocations: 33.7 kB / 0.6264 GB, free: 3.074 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1149, allocations: 100.6 kB / 0.6265 GB, free: 2.969 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.1149, allocations: 106.5 kB / 0.6266 GB, free: 2.863 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.115, allocations: 73.7 kB / 0.6267 GB, free: 2.785 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.1151, allocations: 330.8 kB / 0.627 GB, free: 2.453 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1152, allocations: 115.9 kB / 0.6271 GB, free: 2.34 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1154, allocations: 110 kB / 0.6272 GB, free: 2.234 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1157, allocations: 258.1 kB / 0.6275 GB, free: 1.977 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1157, allocations: 3.938 kB / 0.6275 GB, free: 1.973 MB / 442.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003855/0.1161, allocations: 336.7 kB / 0.6278 GB, free: 1.637 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.1161, allocations: 8 kB / 0.6278 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1161, allocations: 0 / 0.6278 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.1161, allocations: 0 / 0.6278 GB, free: 1.629 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.1165, allocations: 111.9 kB / 0.6279 GB, free: 1.52 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1165, allocations: 7.938 kB / 0.6279 GB, free: 1.512 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1167, allocations: 27.83 kB / 0.628 GB, free: 1.484 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1167, allocations: 12 kB / 0.628 GB, free: 1.473 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 7.972e-05/0.1168, allocations: 134 kB / 0.6281 GB, free: 1.332 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1168, allocations: 19.8 kB / 0.6281 GB, free: 1.312 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.1169, allocations: 28.84 kB / 0.6282 GB, free: 1.285 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1169, allocations: 4.375 kB / 0.6282 GB, free: 1.281 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1169, allocations: 0 / 0.6282 GB, free: 1.281 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1169, allocations: 0 / 0.6282 GB, free: 1.281 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1171, allocations: 273.3 kB / 0.6284 GB, free: 0.9648 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1171, allocations: 7.938 kB / 0.6284 GB, free: 0.957 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.1177, allocations: 115.9 kB / 0.6285 GB, free: 0.8438 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1178, allocations: 0 / 0.6285 GB, free: 0.8438 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.1178, allocations: 15.98 kB / 0.6285 GB, free: 0.8281 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1178, allocations: 0 / 0.6285 GB, free: 0.8281 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1178, allocations: 0 / 0.6285 GB, free: 0.8281 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.1182, allocations: 423.8 kB / 0.629 GB, free: 408 kB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.1183, allocations: 96.95 kB / 0.629 GB, free: 292 kB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1183, allocations: 11.98 kB / 0.6291 GB, free: 280 kB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1185, allocations: 15.92 kB / 0.6291 GB, free: 264 kB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.1185, allocations: 11.98 kB / 0.6291 GB, free: 252 kB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1185, allocations: 11.98 kB / 0.6291 GB, free: 240 kB / 442.8 MB Notification: Performance of sorting global known variables: time 3.64e-05/0.1186, allocations: 87.28 kB / 0.6292 GB, free: 152 kB / 442.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1186, allocations: 0 / 0.6292 GB, free: 152 kB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002167/0.1188, allocations: 56 kB / 0.6292 GB, free: 96 kB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[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.0001015/0.1189, allocations: 126.4 kB / 0.6294 GB, free: 15.96 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.1192, allocations: 243.8 kB / 0.6296 GB, free: 15.73 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1192, allocations: 0 / 0.6296 GB, free: 15.73 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1194, allocations: 118.9 kB / 0.6297 GB, free: 15.61 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.1196, allocations: 7.938 kB / 0.6297 GB, free: 15.61 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1211, allocations: 1.466 MB / 0.6311 GB, free: 14.11 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1213, allocations: 0.7359 MB / 0.6319 GB, free: 13.35 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1215, allocations: 73.47 kB / 0.6319 GB, free: 13.28 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.1215, allocations: 19.44 kB / 0.6319 GB, free: 13.26 MB / 458.8 MB Notification: Performance of SimCode: time 2.81e-07/0.1215, allocations: 7.938 kB / 0.632 GB, free: 13.25 MB / 458.8 MB Notification: Performance of Templates: time 0.004508/0.126, allocations: 1.851 MB / 0.6338 GB, free: 11.47 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 -s=ida -abortSlowSimulation -alarm=300 -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/jenkins1/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