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.001374/0.001374, 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.001568/0.001568, allocations: 211.4 kB / 24.48 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2318/0.2318, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.002093/0.002093, allocations: 59.91 kB / 0.4973 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2907, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.007871/0.2986, allocations: 5.772 MB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.303, allocations: 2.138 MB / 0.5695 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.3034, allocations: 20 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003473/0.3069, allocations: 1.411 MB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.3089, allocations: 0.703 MB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3103, allocations: 0.5749 MB / 0.5722 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.3118, allocations: 1.186 MB / 0.5733 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.3132, allocations: 0.8672 MB / 0.5742 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.3139, allocations: 0.506 MB / 0.5747 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007199/0.3147, allocations: 0.6225 MB / 0.5753 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.3148, allocations: 104 kB / 0.5754 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.3154, allocations: 283.8 kB / 0.5757 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.3156, allocations: 274.9 kB / 0.5759 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004933/0.3161, allocations: 457.9 kB / 0.5764 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.318, allocations: 1.529 MB / 0.5779 GB, free: 3.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.318, allocations: 4 kB / 0.5779 GB, free: 3.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.318, allocations: 3.938 kB / 0.5779 GB, free: 3.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.318, allocations: 0 / 0.5779 GB, free: 3.641 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.004593/0.3226, allocations: 1.605 MB / 0.5794 GB, free: 2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3226, allocations: 12.03 kB / 0.5794 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008958/0.3316, allocations: 1.12 MB / 0.5805 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.3327, allocations: 492.3 kB / 0.581 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.798e-05/0.3328, allocations: 82.7 kB / 0.5811 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.333, allocations: 116.4 kB / 0.5812 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.3359, allocations: 1.456 MB / 0.5826 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.336, allocations: 8 kB / 0.5826 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.3361, allocations: 44 kB / 0.5827 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.3361, allocations: 32 kB / 0.5827 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003138/0.3393, allocations: 1.417 MB / 0.5841 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007268/0.3465, allocations: 3.517 MB / 0.5875 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.3497, allocations: 1.015 MB / 0.5885 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000955/0.3507, allocations: 382.6 kB / 0.5889 GB, free: 8.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3508, allocations: 31.97 kB / 0.5889 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.3508, allocations: 50.5 kB / 0.5889 GB, free: 7.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.775e-06/0.3508, allocations: 0 / 0.5889 GB, free: 7.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003403/0.3542, allocations: 1.164 MB / 0.5901 GB, free: 6.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.3544, allocations: 239.3 kB / 0.5903 GB, free: 6.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005705/0.3549, allocations: 453.3 kB / 0.5907 GB, free: 6.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.355, allocations: 37.7 kB / 0.5908 GB, free: 6.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.3554, allocations: 484 kB / 0.5912 GB, free: 5.523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.3557, allocations: 309.4 kB / 0.5915 GB, free: 5.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.356, allocations: 198.8 kB / 0.5917 GB, free: 5.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3562, allocations: 370.7 kB / 0.5921 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009732/0.3572, allocations: 378.4 kB / 0.5924 GB, free: 4.277 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.3585, allocations: 0.7259 MB / 0.5931 GB, free: 3.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.3607, allocations: 1.059 MB / 0.5942 GB, free: 2.246 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3607, allocations: 4 kB / 0.5942 GB, free: 2.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002823/0.3636, allocations: 1.184 MB / 0.5953 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3636, allocations: 14.5 kB / 0.5954 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.3636, allocations: 8 kB / 0.5954 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.3638, allocations: 37.5 kB / 0.5954 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.3651, allocations: 291.5 kB / 0.5957 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.3651, allocations: 19.94 kB / 0.5957 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/0.3661, allocations: 139.1 kB / 0.5958 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.3662, allocations: 51.97 kB / 0.5959 GB, free: 0.5 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.000425/0.3666, allocations: 253.5 kB / 0.5961 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.3668, allocations: 67.62 kB / 0.5962 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.3695, allocations: 1.014 MB / 0.5972 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.3695, allocations: 11.94 kB / 0.5972 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.3695, allocations: 4 kB / 0.5972 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.3695, allocations: 3.984 kB / 0.5972 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004255/0.3738, allocations: 2.002 MB / 0.5991 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3738, allocations: 0 / 0.5991 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.3749, allocations: 227.6 kB / 0.5994 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.375, allocations: 24.84 kB / 0.5994 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.3751, allocations: 27.92 kB / 0.5994 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.3751, allocations: 8 kB / 0.5994 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3751, allocations: 0 / 0.5994 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/0.3786, allocations: 1.824 MB / 0.6012 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3787, allocations: 75.41 kB / 0.6013 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3788, allocations: 24 kB / 0.6013 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.3797, allocations: 55.94 kB / 0.6014 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.3799, allocations: 75.8 kB / 0.6014 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.3799, allocations: 31.98 kB / 0.6015 GB, free: 10.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003728/0.3803, allocations: 299.1 kB / 0.6017 GB, free: 10.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3803, allocations: 4 kB / 0.6017 GB, free: 10.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001149/0.3815, allocations: 303.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.000302/0.3818, allocations: 154.5 kB / 0.6022 GB, free: 9.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.3841, allocations: 0.9147 MB / 0.6031 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3841, allocations: 0 / 0.6031 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3852, allocations: 439.9 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.0009737/0.3861, allocations: 93.39 kB / 0.6036 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.3892, allocations: 1.754 MB / 0.6053 GB, free: 6.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.3896, allocations: 385.6 kB / 0.6057 GB, free: 6.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000508/0.3901, allocations: 129.4 kB / 0.6058 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.3904, allocations: 79.39 kB / 0.6059 GB, free: 6.102 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3904, allocations: 4 kB / 0.6059 GB, free: 6.098 MB / 446.1 MB Notification: Performance of Templates: time 0.02027/0.4107, allocations: 10.94 MB / 0.6166 GB, free: 11.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 -s gbode -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.448026026002481]