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.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 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.00106/0.00106, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001027/0.001027, allocations: 101.1 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8928/0.8928, allocations: 120.5 MB / 463.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 12 kB / 0.5446 GB, free: 41.14 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1669, allocations: 82.85 MB / 0.6255 GB, free: 7.906 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8138/0.9808, allocations: 125.4 MB / 0.7481 GB, free: 8.715 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.981, allocations: 66.39 kB / 0.7481 GB, free: 8.68 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.009217/0.9903, allocations: 2.543 MB / 0.7506 GB, free: 6.387 MB / 0.5107 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9903, allocations: 0 / 0.7506 GB, free: 6.387 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.9904, allocations: 4 kB / 0.7506 GB, free: 6.383 MB / 0.5107 GB 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.001068/0.9914, allocations: 499.8 kB / 0.7511 GB, free: 5.855 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.9915, allocations: 8.031 kB / 0.7511 GB, free: 5.848 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.9916, allocations: 23.75 kB / 0.7511 GB, free: 5.824 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.992, allocations: 210.8 kB / 0.7513 GB, free: 5.582 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.992, allocations: 19.86 kB / 0.7513 GB, free: 5.57 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.9921, allocations: 31.59 kB / 0.7514 GB, free: 5.547 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.9924, allocations: 176.8 kB / 0.7515 GB, free: 5.402 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.9924, allocations: 3.984 kB / 0.7515 GB, free: 5.398 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.9925, allocations: 11.77 kB / 0.7515 GB, free: 5.391 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.9925, allocations: 4 kB / 0.7515 GB, free: 5.387 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.9927, allocations: 106.8 kB / 0.7517 GB, free: 5.309 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.9941, allocations: 0.6149 MB / 0.7523 GB, free: 4.695 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.9961, allocations: 0.5772 MB / 0.7528 GB, free: 4.195 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.9961, allocations: 8.188 kB / 0.7528 GB, free: 4.188 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.9961, allocations: 30.75 kB / 0.7529 GB, free: 4.148 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.9961, allocations: 0 / 0.7529 GB, free: 4.148 MB / 0.5107 GB Notification: Performance of matching and sorting (n=22): time 0.0006336/0.9968, allocations: 318 kB / 0.7532 GB, free: 3.898 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.9968, allocations: 55.41 kB / 0.7532 GB, free: 3.832 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.9969, allocations: 116.5 kB / 0.7533 GB, free: 3.723 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.997, allocations: 29.58 kB / 0.7533 GB, free: 3.691 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.9971, allocations: 108.2 kB / 0.7535 GB, free: 3.586 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.9972, allocations: 98.06 kB / 0.7535 GB, free: 3.504 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.9972, allocations: 3.875 kB / 0.7535 GB, free: 3.504 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.9973, allocations: 342.2 kB / 0.7539 GB, free: 3.168 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.9975, allocations: 106.3 kB / 0.754 GB, free: 3.09 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.9977, allocations: 111.2 kB / 0.7541 GB, free: 3.008 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.9979, allocations: 135.3 kB / 0.7542 GB, free: 2.914 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.998, allocations: 0 / 0.7542 GB, free: 2.914 MB / 0.5107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005302/0.9985, allocations: 326.4 kB / 0.7545 GB, free: 2.664 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9985, allocations: 4 kB / 0.7545 GB, free: 2.66 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.9985, allocations: 4 kB / 0.7545 GB, free: 2.656 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9986, allocations: 7.984 kB / 0.7545 GB, free: 2.648 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.999, allocations: 110.6 kB / 0.7546 GB, free: 2.543 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.9991, allocations: 3.5 kB / 0.7546 GB, free: 2.543 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.9992, allocations: 30.58 kB / 0.7547 GB, free: 2.52 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.9993, allocations: 11.94 kB / 0.7547 GB, free: 2.508 MB / 0.5107 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.9994, allocations: 143.8 kB / 0.7548 GB, free: 2.367 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.9995, allocations: 11.81 kB / 0.7548 GB, free: 2.355 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.628e-05/0.9995, allocations: 33.91 kB / 0.7549 GB, free: 2.34 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.9996, allocations: 0 / 0.7549 GB, free: 2.34 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.9996, allocations: 0 / 0.7549 GB, free: 2.34 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.9996, allocations: 11.92 kB / 0.7549 GB, free: 2.328 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.9999, allocations: 270.9 kB / 0.7551 GB, free: 2.043 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.9999, allocations: 3.984 kB / 0.7551 GB, free: 2.039 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/1.001, allocations: 104.3 kB / 0.7552 GB, free: 1.938 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.001, allocations: 0 / 0.7552 GB, free: 1.938 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/1.001, allocations: 15.61 kB / 0.7553 GB, free: 1.926 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.001, allocations: 0 / 0.7553 GB, free: 1.926 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.001, allocations: 7.938 kB / 0.7553 GB, free: 1.918 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/1.001, allocations: 437.5 kB / 0.7557 GB, free: 1.551 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/1.001, allocations: 92.94 kB / 0.7558 GB, free: 1.441 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/1.001, allocations: 7.438 kB / 0.7558 GB, free: 1.438 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/1.002, allocations: 11.8 kB / 0.7558 GB, free: 1.43 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/1.002, allocations: 15.97 kB / 0.7558 GB, free: 1.414 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/1.002, allocations: 7.5 kB / 0.7558 GB, free: 1.41 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 6.695e-05/1.002, allocations: 98.58 kB / 0.7559 GB, free: 1.316 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.002, allocations: 0 / 0.7559 GB, free: 1.316 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.000288/1.002, allocations: 59.12 kB / 0.756 GB, free: 1.266 MB / 0.5107 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/1.002, allocations: 114.5 kB / 0.7561 GB, free: 1.148 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0004459/1.003, allocations: 252.4 kB / 0.7563 GB, free: 0.957 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.003, allocations: 0 / 0.7563 GB, free: 0.957 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/1.003, allocations: 112.6 kB / 0.7564 GB, free: 0.875 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/1.003, allocations: 17.52 kB / 0.7564 GB, free: 0.8633 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/1.005, allocations: 1.733 MB / 0.7581 GB, free: 15.12 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/1.006, allocations: 0.7401 MB / 0.7588 GB, free: 14.36 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001979/1.006, allocations: 73.47 kB / 0.7589 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/1.006, allocations: 19.44 kB / 0.7589 GB, free: 14.27 MB / 0.5263 GB Notification: Performance of SimCode: time 3.91e-07/1.006, allocations: 0 / 0.7589 GB, free: 14.27 MB / 0.5263 GB Notification: Performance of Templates: time 0.004499/1.01, allocations: 1.617 MB / 0.7605 GB, free: 12.7 MB / 0.5263 GB 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/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