Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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.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_noopt_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_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 108.9 kB / 17.06 MB, free: 5.82 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.002492/0.002492, allocations: 196.6 kB / 18 MB, free: 4.965 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.638/1.638, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.354/1.354, allocations: 119.3 MB / 411.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 56.91 kB / 0.5724 GB, free: 38.68 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.223, allocations: 80.7 MB / 0.6512 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002891/0.226, allocations: 1.335 MB / 0.6525 GB, free: 10.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002798/0.2263, allocations: 63.78 kB / 0.6525 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2264, allocations: 0 / 0.6525 GB, free: 10.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.2265, allocations: 7.922 kB / 0.6525 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2266, allocations: 19.91 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.2268, allocations: 19.91 kB / 0.6526 GB, free: 10.03 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.227, allocations: 199.5 kB / 0.6528 GB, free: 9.836 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.751e-05/0.2271, allocations: 4 kB / 0.6528 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 9.874e-05/0.2272, allocations: 71.88 kB / 0.6528 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.2274, allocations: 99.8 kB / 0.6529 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.2275, allocations: 8 kB / 0.6529 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.545e-05/0.2275, allocations: 8 kB / 0.6529 GB, free: 9.648 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2276, allocations: 75.78 kB / 0.653 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2278, allocations: 83.61 kB / 0.6531 GB, free: 9.492 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2279, allocations: 127.5 kB / 0.6532 GB, free: 9.367 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.2279, allocations: 4 kB / 0.6532 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.493e-06/0.228, allocations: 0 / 0.6532 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.228, allocations: 0 / 0.6532 GB, free: 9.363 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001133/0.2291, allocations: 0.5417 MB / 0.6538 GB, free: 8.77 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2292, allocations: 11.89 kB / 0.6538 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.2292, allocations: 20.84 kB / 0.6538 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.2295, allocations: 212.1 kB / 0.654 GB, free: 8.492 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2296, allocations: 20.31 kB / 0.654 GB, free: 8.473 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.2296, allocations: 28.33 kB / 0.654 GB, free: 8.445 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.23, allocations: 190.6 kB / 0.6542 GB, free: 8.254 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.23, allocations: 192 / 0.6542 GB, free: 8.254 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2301, allocations: 7.938 kB / 0.6542 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.2301, allocations: 8 kB / 0.6542 GB, free: 8.238 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.2303, allocations: 111.8 kB / 0.6543 GB, free: 8.129 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2316, allocations: 0.6018 MB / 0.6549 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.2334, allocations: 0.5762 MB / 0.6555 GB, free: 6.891 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.2335, allocations: 96.8 kB / 0.6556 GB, free: 6.793 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.2336, allocations: 4 kB / 0.6556 GB, free: 6.789 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2336, allocations: 34.94 kB / 0.6556 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.2336, allocations: 0 / 0.6556 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.0006148/0.2342, allocations: 308.5 kB / 0.6559 GB, free: 6.441 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2343, allocations: 55.41 kB / 0.656 GB, free: 6.375 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2344, allocations: 129.8 kB / 0.6561 GB, free: 6.238 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.2345, allocations: 29.7 kB / 0.6561 GB, free: 6.203 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.2345, allocations: 108.7 kB / 0.6562 GB, free: 6.094 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.027e-05/0.2346, allocations: 103.1 kB / 0.6563 GB, free: 5.992 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2347, allocations: 69.69 kB / 0.6564 GB, free: 5.918 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2349, allocations: 326.8 kB / 0.6567 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.2351, allocations: 107.9 kB / 0.6568 GB, free: 5.484 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.2352, allocations: 115.7 kB / 0.6569 GB, free: 5.371 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.2356, allocations: 261.6 kB / 0.6572 GB, free: 5.113 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2356, allocations: 3.938 kB / 0.6572 GB, free: 5.109 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004796/0.2361, allocations: 345.6 kB / 0.6575 GB, free: 4.766 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.2361, allocations: 4 kB / 0.6575 GB, free: 4.762 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2362, allocations: 0 / 0.6575 GB, free: 4.762 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2362, allocations: 0 / 0.6575 GB, free: 4.762 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.2366, allocations: 123.8 kB / 0.6576 GB, free: 4.641 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.2366, allocations: 0 / 0.6576 GB, free: 4.641 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2368, allocations: 23.88 kB / 0.6576 GB, free: 4.617 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2368, allocations: 12.38 kB / 0.6576 GB, free: 4.605 MB / 0.4983 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.237, allocations: 146.5 kB / 0.6578 GB, free: 4.453 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.237, allocations: 15.91 kB / 0.6578 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.472e-05/0.2371, allocations: 24.84 kB / 0.6578 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2371, allocations: 7.938 kB / 0.6578 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2371, allocations: 0 / 0.6578 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2371, allocations: 0 / 0.6578 GB, free: 4.402 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.2375, allocations: 273.4 kB / 0.6581 GB, free: 4.086 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2375, allocations: 4 kB / 0.6581 GB, free: 4.082 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.2381, allocations: 119.9 kB / 0.6582 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2381, allocations: 0 / 0.6582 GB, free: 3.965 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.2381, allocations: 15.98 kB / 0.6582 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2381, allocations: 0 / 0.6582 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2382, allocations: 0 / 0.6582 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.2387, allocations: 426.6 kB / 0.6586 GB, free: 3.52 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.2388, allocations: 89.17 kB / 0.6587 GB, free: 3.414 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.2389, allocations: 15.98 kB / 0.6587 GB, free: 3.398 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.239, allocations: 15.98 kB / 0.6588 GB, free: 3.383 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.2391, allocations: 11.98 kB / 0.6588 GB, free: 3.371 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2391, allocations: 11.98 kB / 0.6588 GB, free: 3.359 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.2392, allocations: 91.27 kB / 0.6589 GB, free: 3.27 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2392, allocations: 0 / 0.6589 GB, free: 3.27 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002803/0.2395, allocations: 63.95 kB / 0.6589 GB, free: 3.207 MB / 0.4983 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 (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.0001365/0.2396, allocations: 117.8 kB / 0.659 GB, free: 3.086 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.2401, allocations: 251.8 kB / 0.6593 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2401, allocations: 0 / 0.6593 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.2403, allocations: 115.8 kB / 0.6594 GB, free: 2.727 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2406, allocations: 15.92 kB / 0.6594 GB, free: 2.711 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.2424, allocations: 1.41 MB / 0.6608 GB, free: 1.266 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2427, allocations: 0.7436 MB / 0.6615 GB, free: 0.4922 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.2429, allocations: 73.47 kB / 0.6616 GB, free: 432 kB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.243, allocations: 23.66 kB / 0.6616 GB, free: 408 kB / 0.4983 GB Notification: Performance of SimCode: time 3.41e-07/0.243, allocations: 3.938 kB / 0.6616 GB, free: 404 kB / 0.4983 GB Notification: Performance of Templates: time 0.004764/0.2477, allocations: 1.788 MB / 0.6633 GB, free: 14.64 MB / 0.5139 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches