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.001421/0.001421, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001489/0.001489, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2545/0.2545, allocations: 46.93 MB / 361.6 MB, free: 4.27 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.001958/0.001958, allocations: 76.11 kB / 0.4974 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.408, allocations: 66.03 MB / 0.5619 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008418/0.4165, allocations: 6.601 MB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004991/0.4214, allocations: 2.282 MB / 0.5706 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008897/0.4223, allocations: 20 kB / 0.5706 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.4261, allocations: 1.532 MB / 0.5721 GB, free: 9.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.4285, allocations: 0.7183 MB / 0.5728 GB, free: 9.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.43, allocations: 0.5997 MB / 0.5734 GB, free: 8.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001891/0.4319, allocations: 1.174 MB / 0.5745 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.4332, allocations: 0.8595 MB / 0.5753 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.434, allocations: 0.5098 MB / 0.5758 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007542/0.4348, allocations: 0.6187 MB / 0.5764 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.4349, allocations: 104 kB / 0.5765 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/0.4356, allocations: 299.7 kB / 0.5768 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.4358, allocations: 255.1 kB / 0.5771 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.4364, allocations: 0.5636 MB / 0.5776 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.4384, allocations: 1.525 MB / 0.5791 GB, free: 2.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.4385, allocations: 3.984 kB / 0.5791 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4385, allocations: 0 / 0.5791 GB, free: 2.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.4385, allocations: 0 / 0.5791 GB, free: 2.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.004435/0.4429, allocations: 1.612 MB / 0.5807 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.443, allocations: 12.03 kB / 0.5807 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00795/0.4509, allocations: 1.116 MB / 0.5818 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.4522, allocations: 488.3 kB / 0.5823 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.4523, allocations: 90.69 kB / 0.5823 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.4525, allocations: 116.4 kB / 0.5825 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.4551, allocations: 1.356 MB / 0.5838 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.4552, allocations: 0 / 0.5838 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.4553, allocations: 52 kB / 0.5838 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.4553, allocations: 28 kB / 0.5839 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.4582, allocations: 1.433 MB / 0.5853 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.4656, allocations: 4.027 MB / 0.5892 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.4684, allocations: 1.027 MB / 0.5902 GB, free: 7.008 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/0.4692, allocations: 392.7 kB / 0.5906 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.4694, allocations: 35.95 kB / 0.5906 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.4694, allocations: 46.5 kB / 0.5906 GB, free: 6.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/0.4694, allocations: 0 / 0.5906 GB, free: 6.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.003193/0.4726, allocations: 1.167 MB / 0.5918 GB, free: 5.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.4728, allocations: 247.3 kB / 0.592 GB, free: 5.047 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.4735, allocations: 0.5644 MB / 0.5926 GB, free: 4.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.4736, allocations: 41.7 kB / 0.5926 GB, free: 4.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.474, allocations: 472.1 kB / 0.5931 GB, free: 3.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.4743, allocations: 309.3 kB / 0.5934 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.4746, allocations: 198.8 kB / 0.5935 GB, free: 3.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.4748, allocations: 374.7 kB / 0.5939 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.4757, allocations: 390.3 kB / 0.5943 GB, free: 2.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.4768, allocations: 0.6642 MB / 0.5949 GB, free: 1.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.4789, allocations: 1.058 MB / 0.596 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4789, allocations: 7.938 kB / 0.596 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002657/0.4815, allocations: 1.202 MB / 0.5971 GB, free: 15.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.4815, allocations: 8.812 kB / 0.5971 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.4816, allocations: 8 kB / 0.5972 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001823/0.4817, allocations: 40.84 kB / 0.5972 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.4829, allocations: 287.5 kB / 0.5975 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/0.4829, allocations: 19.88 kB / 0.5975 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009357/0.4839, allocations: 151.1 kB / 0.5976 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.484, allocations: 51.97 kB / 0.5977 GB, free: 14.96 MB / 446.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.0004738/0.4844, allocations: 253.5 kB / 0.5979 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.4847, allocations: 67.58 kB / 0.598 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.4871, allocations: 1.035 MB / 0.599 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.4871, allocations: 19.92 kB / 0.599 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4871, allocations: 0 / 0.599 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.4871, allocations: 7.984 kB / 0.599 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/0.4914, allocations: 2.286 MB / 0.6013 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4914, allocations: 3.938 kB / 0.6013 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/0.4924, allocations: 219.7 kB / 0.6015 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.4925, allocations: 28.84 kB / 0.6015 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.4926, allocations: 27.97 kB / 0.6015 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4926, allocations: 4 kB / 0.6015 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4926, allocations: 8 kB / 0.6015 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003308/0.4959, allocations: 1.835 MB / 0.6033 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.4961, allocations: 87.36 kB / 0.6034 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4962, allocations: 24 kB / 0.6034 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.497, allocations: 59.94 kB / 0.6035 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4972, allocations: 71.86 kB / 0.6036 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.4972, allocations: 35.92 kB / 0.6036 GB, free: 8.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005247/0.4977, allocations: 398.8 kB / 0.604 GB, free: 8.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4977, allocations: 0 / 0.604 GB, free: 8.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001168/0.4989, allocations: 291.4 kB / 0.6043 GB, free: 8.141 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.0003319/0.4992, allocations: 162.9 kB / 0.6044 GB, free: 7.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.5015, allocations: 0.8979 MB / 0.6053 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5015, allocations: 0.9375 kB / 0.6053 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.5025, allocations: 447 kB / 0.6057 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.5035, allocations: 102.4 kB / 0.6058 GB, free: 6.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.5067, allocations: 1.796 MB / 0.6076 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007395/0.5075, allocations: 0.9802 MB / 0.6085 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.5078, allocations: 107.4 kB / 0.6086 GB, free: 3.578 MB / 446.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5079, allocations: 4 kB / 0.6086 GB, free: 3.574 MB / 446.1 MB Notification: Performance of Templates: time 0.02475/0.5326, allocations: 16.01 MB / 0.6243 GB, free: 3.543 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 -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: 8.910400114022195]