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.00164/0.00164, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001851/0.001851, allocations: 169.5 kB / 24.5 MB, free: 3.453 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.586/1.586, allocations: 177.2 MB / 204.9 MB, free: 8.945 MB / 190.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.249/0.249, allocations: 34.28 MB / 295.5 MB, free: 14.59 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.002201/0.002201, allocations: 75.86 kB / 443.2 MB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3237, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.FrequencySweep): time 0.005398/0.3291, allocations: 5.786 MB / 0.5029 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.3323, allocations: 2.127 MB / 0.505 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.3326, allocations: 26.31 kB / 0.505 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.3353, allocations: 1.487 MB / 0.5064 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3367, allocations: 0.7006 MB / 0.5071 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3377, allocations: 0.5741 MB / 0.5077 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008567/0.3385, allocations: 1.178 MB / 0.5088 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009035/0.3394, allocations: 0.8528 MB / 0.5097 GB, free: 21.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.3399, allocations: 0.5043 MB / 0.5102 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.3404, allocations: 0.5511 MB / 0.5107 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.3405, allocations: 109.1 kB / 0.5108 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.3409, allocations: 280.1 kB / 0.5111 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.3411, allocations: 258.2 kB / 0.5113 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.3414, allocations: 467.4 kB / 0.5118 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3427, allocations: 1.528 MB / 0.5132 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3427, allocations: 0 / 0.5132 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3427, allocations: 0 / 0.5132 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3427, allocations: 0.9688 kB / 0.5132 GB, free: 20.12 MB / 446.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.004418/0.3471, allocations: 1.607 MB / 0.5148 GB, free: 19.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3472, allocations: 9.625 kB / 0.5148 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/0.3558, allocations: 1.13 MB / 0.5159 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.3572, allocations: 482.1 kB / 0.5164 GB, free: 18.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.3573, allocations: 91.08 kB / 0.5165 GB, free: 18.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.3575, allocations: 111.8 kB / 0.5166 GB, free: 18.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.3602, allocations: 1.457 MB / 0.518 GB, free: 17.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/0.3603, allocations: 1.969 kB / 0.518 GB, free: 17.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.3604, allocations: 50.81 kB / 0.5181 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.3604, allocations: 28.88 kB / 0.5181 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.3634, allocations: 1.414 MB / 0.5195 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00621/0.3696, allocations: 3.524 MB / 0.5229 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/0.3724, allocations: 1.021 MB / 0.5239 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000843/0.3732, allocations: 380.9 kB / 0.5243 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3733, allocations: 29.69 kB / 0.5243 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3733, allocations: 55.06 kB / 0.5243 GB, free: 14.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.025e-06/0.3734, allocations: 0 / 0.5243 GB, free: 14.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.003171/0.3765, allocations: 1.161 MB / 0.5255 GB, free: 14.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.3766, allocations: 245.8 kB / 0.5257 GB, free: 13.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.3771, allocations: 447.1 kB / 0.5261 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.3772, allocations: 46.06 kB / 0.5262 GB, free: 13.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3774, allocations: 487.7 kB / 0.5267 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3776, allocations: 307.3 kB / 0.5269 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.3779, allocations: 193.4 kB / 0.5271 GB, free: 12.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.378, allocations: 370.1 kB / 0.5275 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009394/0.3789, allocations: 387.8 kB / 0.5279 GB, free: 12.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.38, allocations: 0.7167 MB / 0.5286 GB, free: 11.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.3819, allocations: 1.052 MB / 0.5296 GB, free: 11.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.3819, allocations: 2.375 kB / 0.5296 GB, free: 11.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002546/0.3845, allocations: 1.187 MB / 0.5307 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3845, allocations: 10.95 kB / 0.5308 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.3845, allocations: 9.062 kB / 0.5308 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.3847, allocations: 36.36 kB / 0.5308 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.3859, allocations: 289 kB / 0.5311 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/0.3859, allocations: 18.94 kB / 0.5311 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009119/0.3868, allocations: 144.5 kB / 0.5312 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3869, allocations: 51.14 kB / 0.5313 GB, free: 10.55 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.0003937/0.3873, allocations: 255.9 kB / 0.5315 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.3875, allocations: 62.08 kB / 0.5316 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.39, allocations: 1.02 MB / 0.5326 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.39, allocations: 14.12 kB / 0.5326 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.39, allocations: 2.75 kB / 0.5326 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.39, allocations: 10.09 kB / 0.5326 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/0.3938, allocations: 1.996 MB / 0.5345 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3938, allocations: 5.188 kB / 0.5346 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009877/0.3948, allocations: 219 kB / 0.5348 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.3949, allocations: 27.08 kB / 0.5348 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.395, allocations: 32.92 kB / 0.5348 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.395, allocations: 11.45 kB / 0.5348 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.395, allocations: 1.25 kB / 0.5348 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.3981, allocations: 1.824 MB / 0.5366 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3983, allocations: 68.72 kB / 0.5367 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3984, allocations: 20.7 kB / 0.5367 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.3992, allocations: 60.53 kB / 0.5368 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.3994, allocations: 76.44 kB / 0.5368 GB, free: 7.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.3995, allocations: 27.55 kB / 0.5369 GB, free: 7.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.3998, allocations: 306.7 kB / 0.5371 GB, free: 7.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3998, allocations: 3.938 kB / 0.5372 GB, free: 7.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001215/0.401, allocations: 306.7 kB / 0.5374 GB, free: 7.406 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.0002416/0.4012, allocations: 151.2 kB / 0.5376 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.4035, allocations: 0.9062 MB / 0.5385 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4035, allocations: 4.062 kB / 0.5385 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.4045, allocations: 445.4 kB / 0.5389 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.4054, allocations: 93.61 kB / 0.539 GB, free: 6.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.4082, allocations: 1.734 MB / 0.5407 GB, free: 5.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.4086, allocations: 398.5 kB / 0.5411 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005062/0.4091, allocations: 129.9 kB / 0.5412 GB, free: 5.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.4094, allocations: 85.58 kB / 0.5413 GB, free: 5.578 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4094, allocations: 4 kB / 0.5413 GB, free: 5.574 MB / 446.1 MB Notification: Performance of Templates: time 0.01621/0.4256, allocations: 9.539 MB / 0.5506 GB, free: 14.38 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 ida -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.697389340028167]