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.001898/0.001898, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002381/0.002381, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.645/1.645, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2765/0.2765, allocations: 46.94 MB / 360.9 MB, free: 4.352 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.00231/0.00231, allocations: 67.88 kB / 0.4966 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4194, allocations: 66.02 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.009459/0.4288, allocations: 6.612 MB / 0.5676 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005277/0.4341, allocations: 2.286 MB / 0.5698 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.4348, allocations: 23.94 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.4384, allocations: 1.532 MB / 0.5713 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.4408, allocations: 0.7181 MB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.4423, allocations: 0.5897 MB / 0.5726 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.4439, allocations: 1.178 MB / 0.5738 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.4454, allocations: 0.8663 MB / 0.5746 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007946/0.4462, allocations: 0.506 MB / 0.5751 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.447, allocations: 0.6225 MB / 0.5757 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.4472, allocations: 107.9 kB / 0.5758 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.448, allocations: 299.8 kB / 0.5761 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.4482, allocations: 255 kB / 0.5763 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006709/0.4489, allocations: 0.5559 MB / 0.5769 GB, free: 4.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.451, allocations: 1.518 MB / 0.5784 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.451, allocations: 0 / 0.5784 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.451, allocations: 0 / 0.5784 GB, free: 2.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4511, allocations: 4 kB / 0.5784 GB, free: 2.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.004527/0.4556, allocations: 1.616 MB / 0.5799 GB, free: 1.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4556, allocations: 12.03 kB / 0.58 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008246/0.4639, allocations: 1.128 MB / 0.5811 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.4652, allocations: 484.3 kB / 0.5815 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.26e-05/0.4653, allocations: 90.7 kB / 0.5816 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002137/0.4655, allocations: 116.3 kB / 0.5817 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.4683, allocations: 1.348 MB / 0.583 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.4683, allocations: 11.92 kB / 0.583 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.4685, allocations: 48 kB / 0.5831 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.4685, allocations: 28 kB / 0.5831 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.4714, allocations: 1.425 MB / 0.5845 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/0.479, allocations: 4.031 MB / 0.5884 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.4819, allocations: 1.031 MB / 0.5894 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/0.4828, allocations: 388.8 kB / 0.5898 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.4829, allocations: 35.89 kB / 0.5899 GB, free: 6.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4829, allocations: 42.56 kB / 0.5899 GB, free: 6.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.375e-06/0.4829, allocations: 0 / 0.5899 GB, free: 6.527 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.0032/0.4861, allocations: 1.175 MB / 0.591 GB, free: 5.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.4863, allocations: 243.3 kB / 0.5913 GB, free: 5.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.4871, allocations: 0.5683 MB / 0.5918 GB, free: 4.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.636e-05/0.4871, allocations: 37.7 kB / 0.5919 GB, free: 4.434 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.4875, allocations: 472.1 kB / 0.5923 GB, free: 3.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.4878, allocations: 313.3 kB / 0.5926 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.4881, allocations: 202.9 kB / 0.5928 GB, free: 3.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4883, allocations: 382.6 kB / 0.5932 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009329/0.4893, allocations: 382.3 kB / 0.5935 GB, free: 2.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.4905, allocations: 0.6642 MB / 0.5942 GB, free: 1.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/0.4926, allocations: 1.054 MB / 0.5952 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/0.4926, allocations: 4 kB / 0.5952 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002689/0.4953, allocations: 1.207 MB / 0.5964 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4954, allocations: 10.03 kB / 0.5964 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.4954, allocations: 8 kB / 0.5964 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.4956, allocations: 36.84 kB / 0.5964 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4968, allocations: 287.9 kB / 0.5967 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/0.4968, allocations: 27.86 kB / 0.5968 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008977/0.4977, allocations: 147.1 kB / 0.5969 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.4978, allocations: 47.98 kB / 0.5969 GB, free: 14.97 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.0004698/0.4982, allocations: 257.5 kB / 0.5972 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.4985, allocations: 71.58 kB / 0.5973 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.501, allocations: 1.035 MB / 0.5983 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.501, allocations: 12 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.501, allocations: 0 / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.5011, allocations: 7.984 kB / 0.5983 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.5056, allocations: 2.29 MB / 0.6005 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.5056, allocations: 7.922 kB / 0.6005 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.5066, allocations: 219.7 kB / 0.6007 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.5067, allocations: 24.84 kB / 0.6008 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.5068, allocations: 23.98 kB / 0.6008 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.5068, allocations: 8 kB / 0.6008 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5068, allocations: 3.938 kB / 0.6008 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.5102, allocations: 1.839 MB / 0.6026 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.5104, allocations: 83.38 kB / 0.6027 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.5105, allocations: 24 kB / 0.6027 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.5114, allocations: 63.92 kB / 0.6028 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.5115, allocations: 75.86 kB / 0.6028 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.135e-05/0.5116, allocations: 35.92 kB / 0.6029 GB, free: 8.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005169/0.5121, allocations: 390.9 kB / 0.6032 GB, free: 8.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5121, allocations: 0 / 0.6032 GB, free: 8.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001099/0.5132, allocations: 295.4 kB / 0.6035 GB, free: 8.145 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.000326/0.5135, allocations: 155 kB / 0.6037 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.516, allocations: 0.9064 MB / 0.6045 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.516, allocations: 0 / 0.6045 GB, free: 7.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.5172, allocations: 439.3 kB / 0.605 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5182, allocations: 98.33 kB / 0.6051 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.5217, allocations: 1.77 MB / 0.6068 GB, free: 4.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.5225, allocations: 0.9801 MB / 0.6077 GB, free: 3.727 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005842/0.5231, allocations: 142.2 kB / 0.6079 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.5234, allocations: 87.41 kB / 0.608 GB, free: 3.504 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5234, allocations: 0 / 0.608 GB, free: 3.504 MB / 446.1 MB Notification: Performance of Templates: time 0.02627/0.5496, allocations: 10.91 MB / 0.6186 GB, free: 8.625 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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: 6.250663667917252]