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.001681/0.001681, allocations: 107.6 kB / 21.19 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.002085/0.002085, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 7.754 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.2386/0.2386, allocations: 46.96 MB / 361.6 MB, free: 4.031 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.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.002024/0.002024, allocations: 63.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3584, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008437/0.3668, allocations: 5.776 MB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.3718, allocations: 2.134 MB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00083/0.3727, allocations: 20 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.3764, allocations: 1.403 MB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.3788, allocations: 0.7105 MB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.3803, allocations: 0.5751 MB / 0.5722 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.382, allocations: 1.174 MB / 0.5733 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.3834, allocations: 0.8701 MB / 0.5742 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/0.3842, allocations: 0.5137 MB / 0.5747 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008085/0.385, allocations: 0.6147 MB / 0.5753 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.3852, allocations: 108 kB / 0.5754 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.3859, allocations: 287.8 kB / 0.5757 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.3862, allocations: 267 kB / 0.5759 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.3867, allocations: 461.9 kB / 0.5764 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.3887, allocations: 1.529 MB / 0.5779 GB, free: 3.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3887, allocations: 0 / 0.5779 GB, free: 3.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3887, allocations: 0 / 0.5779 GB, free: 3.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.3887, allocations: 4 kB / 0.5779 GB, free: 3.66 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.004575/0.3933, allocations: 1.608 MB / 0.5794 GB, free: 2.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3934, allocations: 8.031 kB / 0.5794 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00848/0.4018, allocations: 1.128 MB / 0.5805 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.4032, allocations: 484.3 kB / 0.581 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/0.4033, allocations: 90.7 kB / 0.5811 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.4035, allocations: 112.4 kB / 0.5812 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.4063, allocations: 1.456 MB / 0.5826 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.4064, allocations: 4 kB / 0.5826 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4065, allocations: 48 kB / 0.5827 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.4065, allocations: 32 kB / 0.5827 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/0.4095, allocations: 1.413 MB / 0.5841 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00723/0.4167, allocations: 3.525 MB / 0.5875 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.4196, allocations: 1.011 MB / 0.5885 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/0.4205, allocations: 382.6 kB / 0.5889 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.4206, allocations: 39.89 kB / 0.5889 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.4207, allocations: 54.48 kB / 0.589 GB, free: 7.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.076e-06/0.4207, allocations: 0 / 0.589 GB, free: 7.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003327/0.424, allocations: 1.158 MB / 0.5901 GB, free: 6.797 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.4242, allocations: 247.3 kB / 0.5903 GB, free: 6.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.4248, allocations: 445.3 kB / 0.5908 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.4249, allocations: 41.7 kB / 0.5908 GB, free: 6.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.4252, allocations: 487.9 kB / 0.5913 GB, free: 5.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.4255, allocations: 305.4 kB / 0.5915 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.4259, allocations: 202.9 kB / 0.5917 GB, free: 5.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.4261, allocations: 370.7 kB / 0.5921 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/0.427, allocations: 378.4 kB / 0.5925 GB, free: 4.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4282, allocations: 0.7143 MB / 0.5932 GB, free: 3.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/0.4304, allocations: 1.062 MB / 0.5942 GB, free: 2.258 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4304, allocations: 7.938 kB / 0.5942 GB, free: 2.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002666/0.4331, allocations: 1.184 MB / 0.5954 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.4331, allocations: 8 kB / 0.5954 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.4331, allocations: 12 kB / 0.5954 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.4333, allocations: 32.84 kB / 0.5954 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.4346, allocations: 296.1 kB / 0.5957 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.4346, allocations: 15.94 kB / 0.5957 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/0.4355, allocations: 143.1 kB / 0.5958 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.4356, allocations: 51.97 kB / 0.5959 GB, free: 0.5078 MB / 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.0004605/0.4361, allocations: 253 kB / 0.5961 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.4363, allocations: 67.62 kB / 0.5962 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002549/0.4388, allocations: 1.007 MB / 0.5972 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.4389, allocations: 11.94 kB / 0.5972 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.4389, allocations: 12 kB / 0.5972 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4389, allocations: 3.984 kB / 0.5972 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004063/0.4429, allocations: 2.002 MB / 0.5992 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.443, allocations: 0 / 0.5992 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.444, allocations: 215.7 kB / 0.5994 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.4441, allocations: 28.84 kB / 0.5994 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.4441, allocations: 31.92 kB / 0.5994 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/0.4441, allocations: 4 kB / 0.5994 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4441, allocations: 4 kB / 0.5994 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.4474, allocations: 1.82 MB / 0.6012 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.4476, allocations: 75.41 kB / 0.6013 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.4477, allocations: 16 kB / 0.6013 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/0.4485, allocations: 63.94 kB / 0.6014 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.4487, allocations: 79.8 kB / 0.6014 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.4487, allocations: 31.98 kB / 0.6015 GB, free: 10.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.4491, allocations: 303.1 kB / 0.6018 GB, free: 10.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4491, allocations: 0 / 0.6018 GB, free: 10.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001193/0.4503, allocations: 299.3 kB / 0.602 GB, free: 10.13 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.0003058/0.4506, allocations: 151 kB / 0.6022 GB, free: 9.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.4528, allocations: 0.9217 MB / 0.6031 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4528, allocations: 3.938 kB / 0.6031 GB, free: 9.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4539, allocations: 440.7 kB / 0.6035 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/0.4548, allocations: 97.28 kB / 0.6036 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.4579, allocations: 1.783 MB / 0.6053 GB, free: 6.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.4584, allocations: 389.6 kB / 0.6057 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.4587, allocations: 103.4 kB / 0.6058 GB, free: 6.176 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4587, allocations: 0 / 0.6058 GB, free: 6.176 MB / 446.1 MB Notification: Performance of Templates: time 0.02351/0.4822, allocations: 15.88 MB / 0.6213 GB, free: 6.27 MB / 462.1 MB " [Timeout remaining time 660] 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 -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: 9.025732882990269]