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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001408/0.001408, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9714/0.9714, allocations: 119.3 MB / 410.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.91 kB / 0.4916 GB, free: 12.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.507, allocations: 80.67 MB / 0.5704 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002384/0.5094, allocations: 1.404 MB / 0.5717 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.5096, allocations: 51.53 kB / 0.5718 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.5097, allocations: 1.219 kB / 0.5718 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.5098, allocations: 7.922 kB / 0.5718 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.5099, allocations: 16.05 kB / 0.5718 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.51, allocations: 20.25 kB / 0.5718 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.5102, allocations: 220.9 kB / 0.572 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.5103, allocations: 7.625 kB / 0.5721 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.5104, allocations: 76.44 kB / 0.5721 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.5105, allocations: 101.8 kB / 0.5722 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.5106, allocations: 9.375 kB / 0.5722 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 3.501e-05/0.5106, allocations: 10.16 kB / 0.5722 GB, free: 42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.5107, allocations: 77.95 kB / 0.5723 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.5108, allocations: 72.58 kB / 0.5724 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.5109, allocations: 134.5 kB / 0.5725 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.511, allocations: 4 kB / 0.5725 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 5.41e-07/0.511, allocations: 0 / 0.5725 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.511, allocations: 0 / 0.5725 GB, free: 41.82 MB / 462.3 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.000915/0.5119, allocations: 0.5166 MB / 0.573 GB, free: 41.36 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5119, allocations: 8.312 kB / 0.573 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.226e-05/0.512, allocations: 15.69 kB / 0.573 GB, free: 41.36 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.5122, allocations: 217.3 kB / 0.5732 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.5122, allocations: 12.88 kB / 0.5733 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.5123, allocations: 40.48 kB / 0.5733 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.5126, allocations: 178.9 kB / 0.5735 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5126, allocations: 1.438 kB / 0.5735 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.5126, allocations: 9.125 kB / 0.5735 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.5126, allocations: 2.406 kB / 0.5735 GB, free: 40.99 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.5128, allocations: 113.2 kB / 0.5736 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.5139, allocations: 0.5989 MB / 0.5742 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.5158, allocations: 0.5793 MB / 0.5747 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.516, allocations: 98.12 kB / 0.5748 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.516, allocations: 2.375 kB / 0.5748 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5161, allocations: 36.06 kB / 0.5749 GB, free: 40.15 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 2.275e-06/0.5161, allocations: 0 / 0.5749 GB, free: 40.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0006809/0.5168, allocations: 321.5 kB / 0.5752 GB, free: 39.99 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.5168, allocations: 58.16 kB / 0.5752 GB, free: 39.92 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.5169, allocations: 126.7 kB / 0.5754 GB, free: 39.8 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.5169, allocations: 31.27 kB / 0.5754 GB, free: 39.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.517, allocations: 105 kB / 0.5755 GB, free: 39.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.5171, allocations: 106 kB / 0.5756 GB, free: 39.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5172, allocations: 71.23 kB / 0.5757 GB, free: 39.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/0.5173, allocations: 328.1 kB / 0.576 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.5175, allocations: 110.2 kB / 0.5761 GB, free: 39.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.5177, allocations: 113.8 kB / 0.5762 GB, free: 39.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.5181, allocations: 257.1 kB / 0.5764 GB, free: 38.98 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.5181, allocations: 3.938 kB / 0.5764 GB, free: 38.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005977/0.5187, allocations: 338.5 kB / 0.5768 GB, free: 38.81 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.5188, allocations: 5.5 kB / 0.5768 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.5188, allocations: 0 / 0.5768 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.5188, allocations: 6.531 kB / 0.5768 GB, free: 38.81 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.5194, allocations: 115.7 kB / 0.5769 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5194, allocations: 2.562 kB / 0.5769 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.5195, allocations: 31.45 kB / 0.5769 GB, free: 38.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.5196, allocations: 6.594 kB / 0.5769 GB, free: 38.76 MB / 462.3 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 0.0001294/0.5197, allocations: 141 kB / 0.577 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.5198, allocations: 13.78 kB / 0.5771 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/0.5198, allocations: 30.05 kB / 0.5771 GB, free: 38.59 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5199, allocations: 7.531 kB / 0.5771 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.5199, allocations: 0 / 0.5771 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5199, allocations: 0 / 0.5771 GB, free: 38.58 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.5203, allocations: 267.2 kB / 0.5774 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5203, allocations: 0 / 0.5774 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.521, allocations: 112.8 kB / 0.5775 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.521, allocations: 1.25 kB / 0.5775 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.521, allocations: 11.14 kB / 0.5775 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.521, allocations: 3.938 kB / 0.5775 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.521, allocations: 1.375 kB / 0.5775 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.5216, allocations: 428.7 kB / 0.5779 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.5217, allocations: 92.98 kB / 0.578 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.5218, allocations: 18.8 kB / 0.578 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5219, allocations: 12.11 kB / 0.578 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.522, allocations: 10.86 kB / 0.578 GB, free: 37.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.522, allocations: 5.5 kB / 0.578 GB, free: 37.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.5221, allocations: 101.2 kB / 0.5781 GB, free: 37.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5221, allocations: 4 kB / 0.5781 GB, free: 37.81 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003187/0.5224, allocations: 56.12 kB / 0.5782 GB, free: 37.8 MB / 462.3 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.0001402/0.5226, allocations: 126.4 kB / 0.5783 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.5231, allocations: 244.4 kB / 0.5785 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5231, allocations: 0 / 0.5785 GB, free: 37.6 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.5234, allocations: 112.8 kB / 0.5786 GB, free: 37.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.5237, allocations: 27.22 kB / 0.5787 GB, free: 37.54 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.5255, allocations: 1.455 MB / 0.5801 GB, free: 36.34 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.5257, allocations: 0.7404 MB / 0.5808 GB, free: 35.62 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.5259, allocations: 73.31 kB / 0.5809 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.526, allocations: 17.59 kB / 0.5809 GB, free: 35.58 MB / 462.3 MB Notification: Performance of SimCode: time 7.02e-07/0.526, allocations: 0.9062 kB / 0.5809 GB, free: 35.58 MB / 462.3 MB Notification: Performance of Templates: time 0.004753/0.5308, allocations: 1.7 MB / 0.5826 GB, free: 34.78 MB / 462.3 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/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