Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.225/0.225, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01116/0.3196, allocations: 8.238 MB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006026/0.3256, allocations: 2.737 MB / 0.5725 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.3268, allocations: 83.62 kB / 0.5726 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008719/0.3355, allocations: 3.492 MB / 0.576 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.3394, allocations: 1.076 MB / 0.5771 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.3413, allocations: 0.775 MB / 0.5778 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005796/0.3471, allocations: 4.86 MB / 0.5826 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.3583, allocations: 7.777 MB / 0.5902 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.3626, allocations: 2.852 MB / 0.5929 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005817/0.3685, allocations: 3.158 MB / 0.596 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001835/0.3703, allocations: 0.7656 MB / 0.5968 GB, free: 156 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.3727, allocations: 0.9295 MB / 0.5977 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00167/0.3744, allocations: 1.609 MB / 0.5993 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003426/0.3778, allocations: 2.346 MB / 0.6015 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.3894, allocations: 10.53 MB / 0.6118 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3894, allocations: 0 / 0.6118 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3894, allocations: 3.938 kB / 0.6118 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.3896, allocations: 0 / 0.6118 GB, free: 0.6914 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01762/0.4072, allocations: 6.348 MB / 0.618 GB, free: 10.29 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4073, allocations: 12.03 kB / 0.618 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02314/0.4304, allocations: 3.93 MB / 0.6219 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008187/0.4386, allocations: 3.257 MB / 0.6251 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/0.4391, allocations: 390.5 kB / 0.6254 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/0.441, allocations: 0.4961 MB / 0.6259 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.4619, allocations: 8.707 MB / 0.6344 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.4621, allocations: 7.891 kB / 0.6344 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.4637, allocations: 219.9 kB / 0.6346 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004408/0.4641, allocations: 343.1 kB / 0.635 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.4823, allocations: 8.003 MB / 0.6428 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.5274, allocations: 21.97 MB / 0.6642 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.5392, allocations: 4.548 MB / 0.6687 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002811/0.542, allocations: 1.475 MB / 0.6701 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.5422, allocations: 69.94 kB / 0.6702 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/0.5423, allocations: 60.44 kB / 0.6702 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.729e-06/0.5423, allocations: 0 / 0.6702 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006237/0.5485, allocations: 3.45 MB / 0.6736 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.5486, allocations: 99.11 kB / 0.6737 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.5517, allocations: 1.992 MB / 0.6757 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.5519, allocations: 65.7 kB / 0.6757 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5536, allocations: 2.276 MB / 0.6779 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007653/0.5543, allocations: 0.7709 MB / 0.6787 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.5554, allocations: 0.7108 MB / 0.6794 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5555, allocations: 301.1 kB / 0.6797 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/0.5581, allocations: 1.564 MB / 0.6812 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/0.5621, allocations: 3.195 MB / 0.6843 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00701/0.5691, allocations: 5.075 MB / 0.6893 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-05/0.5691, allocations: 16 kB / 0.6893 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008414/0.5775, allocations: 4.882 MB / 0.6941 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.5776, allocations: 28 kB / 0.6941 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.533e-05/0.5777, allocations: 56.91 kB / 0.6941 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-05/0.5778, allocations: 80 kB / 0.6942 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003322/0.5811, allocations: 0.928 MB / 0.6951 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001109/0.5812, allocations: 111.6 kB / 0.6952 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.5835, allocations: 485 kB / 0.6957 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/0.5838, allocations: 192 kB / 0.6959 GB, free: 8.363 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (442): * Single equations (assignments): 442 * 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.003223/0.587, allocations: 2.073 MB / 0.6979 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004217/0.5875, allocations: 198.7 kB / 0.6981 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/0.5932, allocations: 3.099 MB / 0.7011 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.5932, allocations: 24 kB / 0.7011 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.5932, allocations: 0 / 0.7011 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.5932, allocations: 7.969 kB / 0.7011 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.6074, allocations: 7.579 MB / 0.7086 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/0.6074, allocations: 16 kB / 0.7086 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/0.6097, allocations: 0.5617 MB / 0.7091 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-05/0.6097, allocations: 28.47 kB / 0.7091 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.6099, allocations: 75.97 kB / 0.7092 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.662e-05/0.6099, allocations: 43.86 kB / 0.7093 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.008e-05/0.6099, allocations: 27.88 kB / 0.7093 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007698/0.6176, allocations: 5.186 MB / 0.7143 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.619, allocations: 489.8 kB / 0.7148 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/0.6193, allocations: 75.98 kB / 0.7149 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.6205, allocations: 127.9 kB / 0.715 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003687/0.6209, allocations: 225.2 kB / 0.7152 GB, free: 3.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/0.621, allocations: 91.98 kB / 0.7153 GB, free: 3.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002008/0.6231, allocations: 1.306 MB / 0.7166 GB, free: 2.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6231, allocations: 0 / 0.7166 GB, free: 2.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003721/0.6268, allocations: 1.195 MB / 0.7178 GB, free: 1.328 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.plug_p.reference.gamma) * 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 (275): * Single equations (assignments): 275 * 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.0005077/0.6273, allocations: 226.5 kB / 0.718 GB, free: 1.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006411/0.6337, allocations: 3.477 MB / 0.7214 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.159e-05/0.6337, allocations: 4 kB / 0.7214 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002625/0.6363, allocations: 1.476 MB / 0.7228 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.6392, allocations: 488.2 kB / 0.7233 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.6553, allocations: 9.12 MB / 0.7322 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.251/0.9064, allocations: 3.107 MB / 0.7352 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004311/0.9107, allocations: 1.373 MB / 0.7366 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006836/0.9114, allocations: 232.3 kB / 0.7368 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.9114, allocations: 0 / 0.7368 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04909/0.9605, allocations: 37.22 MB / 0.7731 GB, free: 122.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.640427385005751]