Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005415/0.005415, allocations: 109.8 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2316/0.2316, allocations: 46.92 MB / 362.3 MB, free: 4.219 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 79.86 kB / 0.4982 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3236, allocations: 66.08 MB / 0.5627 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.008345/0.3319, allocations: 6.609 MB / 0.5692 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004625/0.3365, allocations: 2.278 MB / 0.5714 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008205/0.3374, allocations: 20 kB / 0.5714 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003537/0.3409, allocations: 1.536 MB / 0.5729 GB, free: 9.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.3431, allocations: 0.7141 MB / 0.5736 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3444, allocations: 0.5989 MB / 0.5742 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.3459, allocations: 1.174 MB / 0.5754 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.3472, allocations: 0.8663 MB / 0.5762 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006783/0.3479, allocations: 0.5098 MB / 0.5767 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.3487, allocations: 0.6264 MB / 0.5773 GB, free: 5.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3488, allocations: 104 kB / 0.5774 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.3494, allocations: 299.8 kB / 0.5777 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.3496, allocations: 255 kB / 0.5779 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.3501, allocations: 0.5559 MB / 0.5785 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.3519, allocations: 1.525 MB / 0.58 GB, free: 2.547 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3519, allocations: 0 / 0.58 GB, free: 2.547 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3519, allocations: 0 / 0.58 GB, free: 2.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.3519, allocations: 4 kB / 0.58 GB, free: 2.543 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.004242/0.3562, allocations: 1.608 MB / 0.5815 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3562, allocations: 12.03 kB / 0.5816 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008136/0.3643, allocations: 1.124 MB / 0.5827 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.3654, allocations: 492.3 kB / 0.5831 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.3655, allocations: 86.7 kB / 0.5832 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.3657, allocations: 116.4 kB / 0.5833 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.3683, allocations: 1.356 MB / 0.5846 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3683, allocations: 0 / 0.5846 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.3684, allocations: 48 kB / 0.5847 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.3685, allocations: 28 kB / 0.5847 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.3714, allocations: 1.429 MB / 0.5861 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008903/0.3803, allocations: 4.035 MB / 0.5901 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.3843, allocations: 1.023 MB / 0.591 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3856, allocations: 392.8 kB / 0.5914 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.3858, allocations: 31.95 kB / 0.5915 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/0.3858, allocations: 50.5 kB / 0.5915 GB, free: 6.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 4.368e-06/0.3858, allocations: 0 / 0.5915 GB, free: 6.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.004557/0.3904, allocations: 1.173 MB / 0.5926 GB, free: 5.234 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003104/0.3907, allocations: 239.3 kB / 0.5929 GB, free: 4.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.392, allocations: 0.5644 MB / 0.5934 GB, free: 4.371 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.3921, allocations: 41.7 kB / 0.5935 GB, free: 4.324 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.3925, allocations: 472.1 kB / 0.5939 GB, free: 3.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.3929, allocations: 309.3 kB / 0.5942 GB, free: 3.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000467/0.3934, allocations: 202.8 kB / 0.5944 GB, free: 3.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.3936, allocations: 382.7 kB / 0.5948 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.3949, allocations: 378.3 kB / 0.5951 GB, free: 2.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.3967, allocations: 0.672 MB / 0.5958 GB, free: 1.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.3998, allocations: 1.054 MB / 0.5968 GB, free: 0.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.3998, allocations: 4 kB / 0.5968 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004021/0.4038, allocations: 1.201 MB / 0.598 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4038, allocations: 11.94 kB / 0.598 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.4039, allocations: 8 kB / 0.598 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.4041, allocations: 40.84 kB / 0.5981 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.4057, allocations: 287.8 kB / 0.5983 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-05/0.4058, allocations: 27.62 kB / 0.5984 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.4071, allocations: 147.1 kB / 0.5985 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4072, allocations: 51.97 kB / 0.5985 GB, free: 14.84 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.0006344/0.4079, allocations: 253.5 kB / 0.5988 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/0.4082, allocations: 67.58 kB / 0.5988 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/0.4118, allocations: 1.039 MB / 0.5999 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.4119, allocations: 16 kB / 0.5999 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4119, allocations: 0 / 0.5999 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4119, allocations: 7.984 kB / 0.5999 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.4184, allocations: 2.287 MB / 0.6021 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4184, allocations: 0 / 0.6021 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.4198, allocations: 223.7 kB / 0.6023 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001414/0.42, allocations: 24.84 kB / 0.6024 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.835e-05/0.4201, allocations: 23.98 kB / 0.6024 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.4201, allocations: 11.98 kB / 0.6024 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4201, allocations: 0 / 0.6024 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/0.425, allocations: 1.843 MB / 0.6042 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/0.4252, allocations: 83.38 kB / 0.6043 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.4254, allocations: 20 kB / 0.6043 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.4266, allocations: 63.94 kB / 0.6044 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.4268, allocations: 75.73 kB / 0.6044 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.4269, allocations: 35.98 kB / 0.6045 GB, free: 8.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007605/0.4277, allocations: 398.8 kB / 0.6048 GB, free: 8.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4277, allocations: 0 / 0.6048 GB, free: 8.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001247/0.429, allocations: 287.4 kB / 0.6051 GB, free: 8.016 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.0003043/0.4293, allocations: 155 kB / 0.6053 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.4316, allocations: 0.9086 MB / 0.6061 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4316, allocations: 4 kB / 0.6062 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.4327, allocations: 432.3 kB / 0.6066 GB, free: 6.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4337, allocations: 109.4 kB / 0.6067 GB, free: 6.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.437, allocations: 1.791 MB / 0.6084 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007927/0.4378, allocations: 0.9841 MB / 0.6094 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.4381, allocations: 99.39 kB / 0.6095 GB, free: 3.465 MB / 446.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4381, allocations: 0 / 0.6095 GB, free: 3.465 MB / 446.1 MB Notification: Performance of Templates: time 0.02363/0.4618, allocations: 16.02 MB / 0.6251 GB, free: 3.418 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.64990844600834]