Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001358/0.001358, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001628/0.001628, allocations: 213.9 kB / 24.48 MB, free: 3.941 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2448/0.2448, allocations: 46.95 MB / 361.6 MB, free: 4.105 MB / 286.1 MB " [Timeout remaining time 179] 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.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC|iLL|iL|vCC",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.84 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4149, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008544/0.4235, allocations: 5.773 MB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.4296, allocations: 2.13 MB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.4306, allocations: 20 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.4345, allocations: 1.407 MB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.4373, allocations: 0.7068 MB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.4391, allocations: 0.5752 MB / 0.5722 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.4412, allocations: 1.178 MB / 0.5733 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.4428, allocations: 0.8703 MB / 0.5742 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009133/0.4437, allocations: 0.5098 MB / 0.5747 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/0.4445, allocations: 0.6186 MB / 0.5753 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.4447, allocations: 104 kB / 0.5754 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007646/0.4455, allocations: 287.8 kB / 0.5757 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.4457, allocations: 263 kB / 0.5759 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.4462, allocations: 469.8 kB / 0.5764 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.4482, allocations: 1.529 MB / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4482, allocations: 0 / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4482, allocations: 0 / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4482, allocations: 0 / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004414/0.4526, allocations: 1.608 MB / 0.5794 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4527, allocations: 12.03 kB / 0.5794 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008394/0.4611, allocations: 1.128 MB / 0.5805 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.4629, allocations: 488.3 kB / 0.581 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.463, allocations: 82.7 kB / 0.5811 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.4633, allocations: 112.4 kB / 0.5812 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.4664, allocations: 1.456 MB / 0.5826 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.4665, allocations: 7.984 kB / 0.5826 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.4666, allocations: 48 kB / 0.5827 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.4667, allocations: 32 kB / 0.5827 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/0.4697, allocations: 1.409 MB / 0.5841 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.477, allocations: 3.524 MB / 0.5875 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.4801, allocations: 1.012 MB / 0.5885 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/0.481, allocations: 377 kB / 0.5889 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.4811, allocations: 35.91 kB / 0.5889 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.4811, allocations: 50.5 kB / 0.5889 GB, free: 7.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/0.4811, allocations: 4 kB / 0.5889 GB, free: 7.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.00318/0.4843, allocations: 1.162 MB / 0.5901 GB, free: 6.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.4845, allocations: 239.3 kB / 0.5903 GB, free: 6.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005839/0.4851, allocations: 453.4 kB / 0.5907 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.4852, allocations: 41.7 kB / 0.5908 GB, free: 6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.4855, allocations: 484 kB / 0.5912 GB, free: 5.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/0.4858, allocations: 309.4 kB / 0.5915 GB, free: 5.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003326/0.4861, allocations: 198.8 kB / 0.5917 GB, free: 5.016 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.4863, allocations: 366.7 kB / 0.5921 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008993/0.4872, allocations: 386.4 kB / 0.5924 GB, free: 4.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.4885, allocations: 0.7143 MB / 0.5931 GB, free: 3.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/0.4906, allocations: 1.062 MB / 0.5942 GB, free: 2.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.4906, allocations: 4 kB / 0.5942 GB, free: 2.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00272/0.4933, allocations: 1.183 MB / 0.5953 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.4934, allocations: 16.75 kB / 0.5954 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.4934, allocations: 8 kB / 0.5954 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.4935, allocations: 36.84 kB / 0.5954 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.4948, allocations: 291.5 kB / 0.5957 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.947e-05/0.4948, allocations: 23.92 kB / 0.5957 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000894/0.4957, allocations: 139.1 kB / 0.5958 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.4958, allocations: 63.95 kB / 0.5959 GB, free: 496 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004641/0.4962, allocations: 249.5 kB / 0.5961 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.4966, allocations: 63.62 kB / 0.5962 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/0.499, allocations: 1.007 MB / 0.5972 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.499, allocations: 11.94 kB / 0.5972 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.499, allocations: 7.984 kB / 0.5972 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.499, allocations: 3.984 kB / 0.5972 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.5031, allocations: 2.006 MB / 0.5992 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5032, allocations: 0 / 0.5992 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.5041, allocations: 219.7 kB / 0.5994 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.5043, allocations: 28.84 kB / 0.5994 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.5043, allocations: 31.92 kB / 0.5994 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.5044, allocations: 4 kB / 0.5994 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5044, allocations: 0 / 0.5994 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/0.5078, allocations: 1.824 MB / 0.6012 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5079, allocations: 75.41 kB / 0.6013 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.508, allocations: 20 kB / 0.6013 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008246/0.5088, allocations: 59.94 kB / 0.6014 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.509, allocations: 75.8 kB / 0.6014 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.5091, allocations: 35.98 kB / 0.6015 GB, free: 10.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004043/0.5095, allocations: 303.1 kB / 0.6018 GB, free: 10.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5095, allocations: 0 / 0.6018 GB, free: 10.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001216/0.5107, allocations: 299.3 kB / 0.602 GB, free: 10.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (currentCurrent.pin_p.reference.gamma,constantSource.pin_p.reference.gamma,currentSource.currentSource.pin_p.reference.gamma,voltageSource.voltageSource.pin_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 (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002983/0.511, allocations: 151 kB / 0.6022 GB, free: 9.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.5134, allocations: 0.9069 MB / 0.6031 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5134, allocations: 8.062 kB / 0.6031 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5144, allocations: 436.8 kB / 0.6035 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.5154, allocations: 97.47 kB / 0.6036 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.5185, allocations: 1.746 MB / 0.6053 GB, free: 6.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.5189, allocations: 385.6 kB / 0.6057 GB, free: 6.309 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005138/0.5195, allocations: 133.4 kB / 0.6058 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.5197, allocations: 87.39 kB / 0.6059 GB, free: 6.094 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5197, allocations: 0 / 0.6059 GB, free: 6.094 MB / 446.1 MB Notification: Performance of Templates: time 0.02043/0.5401, allocations: 10.94 MB / 0.6166 GB, free: 11.27 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: 5.796475239010761]